Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Collections / Generic / KeyNotFoundException.cs / 1305376 / KeyNotFoundException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: KeyNotFoundException ** **[....] ** ** ** Purpose: Exception class for Hashtable and Dictionary. ** ** =============================================================================*/ namespace System.Collections.Generic { using System; using System.Runtime.Remoting; using System.Runtime.Serialization; [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class KeyNotFoundException : SystemException, ISerializable { public KeyNotFoundException () : base(Environment.GetResourceString("Arg_KeyNotFound")) { SetErrorCode(System.__HResults.COR_E_KEYNOTFOUND); } public KeyNotFoundException(String message) : base(message) { SetErrorCode(System.__HResults.COR_E_KEYNOTFOUND); } public KeyNotFoundException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(System.__HResults.COR_E_KEYNOTFOUND); } [System.Security.SecuritySafeCritical] // auto-generated protected KeyNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PaginationProgressEventArgs.cs
- Resources.Designer.cs
- MachineKeyConverter.cs
- SoapSchemaImporter.cs
- DataGridTable.cs
- DbParameterHelper.cs
- FormViewCommandEventArgs.cs
- ConnectionManagementElementCollection.cs
- TrackingProfile.cs
- listitem.cs
- ProfileService.cs
- ThousandthOfEmRealPoints.cs
- AttributeProviderAttribute.cs
- PasswordBox.cs
- DataGridViewRowConverter.cs
- SqlNodeAnnotation.cs
- GuidelineSet.cs
- SystemWebCachingSectionGroup.cs
- SafeFreeMibTable.cs
- GridViewCommandEventArgs.cs
- SortAction.cs
- ContainerFilterService.cs
- CodeSubDirectoriesCollection.cs
- Font.cs
- Walker.cs
- FormatStringEditor.cs
- EventLog.cs
- OdbcDataReader.cs
- Utils.cs
- LayoutEditorPart.cs
- MenuItemBindingCollection.cs
- DesignerActionPanel.cs
- TypedReference.cs
- SchemaLookupTable.cs
- VisualBasicSettingsHandler.cs
- CompiledQueryCacheEntry.cs
- UrlMappingsSection.cs
- RefExpr.cs
- WebPartTransformer.cs
- UserNamePasswordValidator.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- ConfigurationException.cs
- ConsoleKeyInfo.cs
- AnnotationComponentChooser.cs
- FontUnitConverter.cs
- XPathNavigatorKeyComparer.cs
- ConfigurationException.cs
- DesignSurfaceServiceContainer.cs
- DispatcherExceptionEventArgs.cs
- ServiceObjectContainer.cs
- MatrixStack.cs
- Misc.cs
- DataViewSetting.cs
- Atom10FormatterFactory.cs
- ZoneMembershipCondition.cs
- PrinterSettings.cs
- HttpCookieCollection.cs
- Baml2006SchemaContext.cs
- SqlDependency.cs
- MaskedTextProvider.cs
- ProfileManager.cs
- SapiInterop.cs
- ConstantCheck.cs
- SymDocumentType.cs
- versioninfo.cs
- DocumentPageTextView.cs
- VoiceInfo.cs
- WsdlBuildProvider.cs
- ListSourceHelper.cs
- EdmType.cs
- BuilderInfo.cs
- RequestResizeEvent.cs
- HttpCookie.cs
- ObjectListItemCollection.cs
- OracleTimeSpan.cs
- sqlser.cs
- HtmlTableRowCollection.cs
- QuadraticBezierSegment.cs
- StringHelper.cs
- LockRecursionException.cs
- BuildResultCache.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- DataGridViewComboBoxColumnDesigner.cs
- ReferenceEqualityComparer.cs
- TrackingMemoryStreamFactory.cs
- CheckBoxFlatAdapter.cs
- CollectionContainer.cs
- _FtpControlStream.cs
- XPathParser.cs
- AccessDataSourceView.cs
- XmlQualifiedName.cs
- RootDesignerSerializerAttribute.cs
- DesignerContextDescriptor.cs
- EngineSite.cs
- TextDecorationLocationValidation.cs
- PasswordTextContainer.cs
- PaginationProgressEventArgs.cs
- DesignTimeTemplateParser.cs
- MachineKeySection.cs
- RulePatternOps.cs