Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PartialArray.cs
- StylusButtonCollection.cs
- ArgumentOutOfRangeException.cs
- ExistsInCollection.cs
- CacheMode.cs
- DatagridviewDisplayedBandsData.cs
- CollectionBuilder.cs
- SharedDp.cs
- VarRemapper.cs
- PropertyGeneratedEventArgs.cs
- FileCodeGroup.cs
- SiteMapPath.cs
- ListInitExpression.cs
- ThicknessAnimationBase.cs
- XsdValidatingReader.cs
- SharedRuntimeState.cs
- Sql8ExpressionRewriter.cs
- SoapFormatterSinks.cs
- DesignerOptionService.cs
- LinkedList.cs
- SqlDependencyListener.cs
- CapabilitiesRule.cs
- HostingPreferredMapPath.cs
- GlobalizationSection.cs
- GridViewRow.cs
- DesignerOptionService.cs
- TypeUsage.cs
- FileClassifier.cs
- AccessedThroughPropertyAttribute.cs
- ConfigXmlSignificantWhitespace.cs
- EditorPartCollection.cs
- DbResourceAllocator.cs
- WindowVisualStateTracker.cs
- DispatcherHookEventArgs.cs
- BinaryReader.cs
- StateRuntime.cs
- ZoneMembershipCondition.cs
- DbMetaDataCollectionNames.cs
- LinkedResource.cs
- TextEditorSelection.cs
- DependencyPropertyHelper.cs
- RunWorkerCompletedEventArgs.cs
- EDesignUtil.cs
- RelationshipWrapper.cs
- XmlComment.cs
- Tracer.cs
- TrackingMemoryStreamFactory.cs
- SqlXmlStorage.cs
- EventEntry.cs
- WebZone.cs
- FormViewCommandEventArgs.cs
- IconEditor.cs
- ToolStripSplitStackLayout.cs
- RIPEMD160.cs
- BevelBitmapEffect.cs
- EmptyWithCancelationCheckWorkItem.cs
- ContentPropertyAttribute.cs
- SoundPlayerAction.cs
- TextRangeAdaptor.cs
- UIElementHelper.cs
- RootAction.cs
- FrameworkElementFactory.cs
- IDQuery.cs
- FlowDocumentPageViewerAutomationPeer.cs
- EpmTargetPathSegment.cs
- CharAnimationBase.cs
- AssociationType.cs
- SizeChangedEventArgs.cs
- SqlCharStream.cs
- IOException.cs
- SpeechSynthesizer.cs
- DateTime.cs
- RawStylusInput.cs
- AffineTransform3D.cs
- PrimitiveType.cs
- MsmqBindingFilter.cs
- XmlSchemaInferenceException.cs
- UnsafeNativeMethods.cs
- XmlLinkedNode.cs
- XmlIlTypeHelper.cs
- CultureSpecificCharacterBufferRange.cs
- VoiceInfo.cs
- DrawingContext.cs
- DataGridViewTopLeftHeaderCell.cs
- infer.cs
- ToolboxCategory.cs
- CheckBoxPopupAdapter.cs
- XMLUtil.cs
- StrokeCollectionConverter.cs
- ServerTooBusyException.cs
- TypeConstant.cs
- RenderDataDrawingContext.cs
- WebControl.cs
- PublisherIdentityPermission.cs
- XmlSchemaAll.cs
- WindowsAuthenticationEventArgs.cs
- EntityViewGenerationAttribute.cs
- Stopwatch.cs
- OpacityConverter.cs
- ControlPersister.cs