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
- WorkflowQueueInfo.cs
- ClientTargetSection.cs
- TileBrush.cs
- FrameworkElementAutomationPeer.cs
- Error.cs
- SudsWriter.cs
- EventLogWatcher.cs
- PrintDocument.cs
- RayHitTestParameters.cs
- WindowsUpDown.cs
- GridViewUpdatedEventArgs.cs
- ConfigXmlSignificantWhitespace.cs
- DataConnectionHelper.cs
- ClientSettingsStore.cs
- ControlPropertyNameConverter.cs
- MatrixTransform.cs
- CfgParser.cs
- HandlerWithFactory.cs
- CaseStatement.cs
- ContentFilePart.cs
- ZipIOBlockManager.cs
- HttpModuleAction.cs
- ThreadAttributes.cs
- MDIControlStrip.cs
- TextLineBreak.cs
- Profiler.cs
- ProtocolsInstallComponent.cs
- StylusPointPropertyInfo.cs
- ClientUrlResolverWrapper.cs
- TimeoutException.cs
- XamlStackWriter.cs
- InplaceBitmapMetadataWriter.cs
- HandlerFactoryCache.cs
- ModuleElement.cs
- securitycriticaldataClass.cs
- WebRequestModuleElement.cs
- XmlSerializerAssemblyAttribute.cs
- ListBindingHelper.cs
- CollectionType.cs
- ReaderContextStackData.cs
- CompositeScriptReferenceEventArgs.cs
- X509IssuerSerialKeyIdentifierClause.cs
- LocalClientSecuritySettingsElement.cs
- WindowsAuthenticationEventArgs.cs
- SecUtil.cs
- FontCacheUtil.cs
- PrivilegedConfigurationManager.cs
- ExpressionTable.cs
- Trace.cs
- InfoCard.cs
- SegmentInfo.cs
- BaseProcessProtocolHandler.cs
- TouchPoint.cs
- ModelUtilities.cs
- SqlException.cs
- IpcManager.cs
- DesignerSerializationOptionsAttribute.cs
- SqlServer2KCompatibilityAnnotation.cs
- UInt64Storage.cs
- TypeCodeDomSerializer.cs
- WhileDesigner.xaml.cs
- DateTimeSerializationSection.cs
- DateTimeParse.cs
- WorkItem.cs
- MarkupCompilePass1.cs
- RuntimeArgumentHandle.cs
- MenuTracker.cs
- DataGridSortCommandEventArgs.cs
- FormsAuthenticationUser.cs
- ScrollChrome.cs
- SafeHandles.cs
- ReadingWritingEntityEventArgs.cs
- ScriptManager.cs
- DataGridTextBox.cs
- InteropAutomationProvider.cs
- ClientRolePrincipal.cs
- COM2ColorConverter.cs
- ThreadStateException.cs
- XmlSchemaType.cs
- HttpChannelHelpers.cs
- OracleMonthSpan.cs
- CodeSnippetStatement.cs
- XmlSerializerFormatAttribute.cs
- DataServiceRequestOfT.cs
- WindowsListViewGroupHelper.cs
- SamlAttribute.cs
- ListDependantCardsRequest.cs
- PerformanceCountersElement.cs
- DynamicResourceExtensionConverter.cs
- XmlSchemaNotation.cs
- HttpHandlerActionCollection.cs
- RecognizedWordUnit.cs
- BoolExpression.cs
- MenuTracker.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- TextDecorationCollectionConverter.cs
- StringDictionary.cs
- TextEditorSpelling.cs
- PackageStore.cs
- CannotUnloadAppDomainException.cs