Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Collections / Generic / KeyNotFoundException.cs / 1 / 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); } protected KeyNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Mappings.cs
- TaskFormBase.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- PointKeyFrameCollection.cs
- Connection.cs
- EmptyReadOnlyDictionaryInternal.cs
- TransformGroup.cs
- BooleanConverter.cs
- EntityAdapter.cs
- DrawingAttributes.cs
- OdbcHandle.cs
- ValidationEventArgs.cs
- QueryStack.cs
- HebrewCalendar.cs
- ExpressionValueEditor.cs
- DispatcherObject.cs
- HostingEnvironmentWrapper.cs
- BaseCodeDomTreeGenerator.cs
- _BasicClient.cs
- CompilerResults.cs
- WebPartHelpVerb.cs
- HitTestFilterBehavior.cs
- FixedDocumentSequencePaginator.cs
- FaultReason.cs
- HtmlContainerControl.cs
- DesignerDeviceConfig.cs
- PropertySegmentSerializationProvider.cs
- DrawingAttributesDefaultValueFactory.cs
- Avt.cs
- Stopwatch.cs
- WindowsComboBox.cs
- ControlSerializer.cs
- DeflateStream.cs
- SectionVisual.cs
- IPHostEntry.cs
- SchemaMapping.cs
- InvokeMethod.cs
- DataGridHeaderBorder.cs
- OleDbDataAdapter.cs
- OutputCacheModule.cs
- DataSourceCacheDurationConverter.cs
- CodeExpressionStatement.cs
- TrackBarRenderer.cs
- DataControlLinkButton.cs
- SecurityToken.cs
- CookieProtection.cs
- Point3DKeyFrameCollection.cs
- HttpProfileGroupBase.cs
- ButtonBaseAutomationPeer.cs
- DrawItemEvent.cs
- oledbmetadatacollectionnames.cs
- BitmapEffectGroup.cs
- GlyphsSerializer.cs
- EdgeProfileValidation.cs
- ExecutedRoutedEventArgs.cs
- WeakRefEnumerator.cs
- DiagnosticEventProvider.cs
- TemplateContentLoader.cs
- _LocalDataStoreMgr.cs
- MatrixIndependentAnimationStorage.cs
- SecurityTokenAuthenticator.cs
- StringAnimationBase.cs
- UserPersonalizationStateInfo.cs
- Table.cs
- TextEmbeddedObject.cs
- StaticResourceExtension.cs
- Stream.cs
- TreeNodeBindingCollection.cs
- ColorBlend.cs
- XmlComplianceUtil.cs
- PropertyCollection.cs
- IsolatedStorageFileStream.cs
- WebBodyFormatMessageProperty.cs
- WebPermission.cs
- SimpleHandlerFactory.cs
- NavigatingCancelEventArgs.cs
- XmlSchemaNotation.cs
- RuleValidation.cs
- DataContractSerializerOperationBehavior.cs
- SyndicationLink.cs
- WorkflowServiceAttributesTypeConverter.cs
- CodeTypeDeclarationCollection.cs
- Point3DValueSerializer.cs
- WriterOutput.cs
- StorageFunctionMapping.cs
- DelegatingTypeDescriptionProvider.cs
- XmlNamespaceManager.cs
- ProbeDuplex11AsyncResult.cs
- PointKeyFrameCollection.cs
- ConsoleKeyInfo.cs
- DataGridRowsPresenter.cs
- ParameterElement.cs
- NamespaceExpr.cs
- EntityAdapter.cs
- MachineKeySection.cs
- XmlSchemaType.cs
- ComponentFactoryHelpers.cs
- SortDescription.cs
- Rfc4050KeyFormatter.cs
- InternalConfigSettingsFactory.cs