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
- _SslState.cs
- ContainerFilterService.cs
- ECDiffieHellmanCng.cs
- XmlBinaryReader.cs
- SqlFunctionAttribute.cs
- TreeNodeStyle.cs
- CacheOutputQuery.cs
- SHA256Managed.cs
- DataServiceKeyAttribute.cs
- _StreamFramer.cs
- RecordsAffectedEventArgs.cs
- DoubleKeyFrameCollection.cs
- EdmRelationshipRoleAttribute.cs
- PropertiesTab.cs
- XhtmlConformanceSection.cs
- NameValuePermission.cs
- DocumentSequenceHighlightLayer.cs
- Column.cs
- StatusBarPanelClickEvent.cs
- regiisutil.cs
- Content.cs
- AddInPipelineAttributes.cs
- PackageRelationshipCollection.cs
- SamlAssertionKeyIdentifierClause.cs
- UncommonField.cs
- TextEncodedRawTextWriter.cs
- Imaging.cs
- GeneralTransform3DTo2DTo3D.cs
- ForAllOperator.cs
- TdsParserHelperClasses.cs
- CompiledQuery.cs
- AssemblyBuilder.cs
- SqlServices.cs
- RepeaterItemCollection.cs
- ConstraintEnumerator.cs
- mediapermission.cs
- DataServiceClientException.cs
- BlurBitmapEffect.cs
- TemplateGroupCollection.cs
- PackagePart.cs
- BitSet.cs
- SQLInt64.cs
- OdbcRowUpdatingEvent.cs
- IgnorePropertiesAttribute.cs
- DocumentPaginator.cs
- WarningException.cs
- DefaultValueTypeConverter.cs
- ItemsChangedEventArgs.cs
- ReaderOutput.cs
- EventEntry.cs
- QueueException.cs
- ContainerSelectorGlyph.cs
- BamlResourceContent.cs
- CodeVariableDeclarationStatement.cs
- BitVector32.cs
- EntryIndex.cs
- BitmapDownload.cs
- SafeMarshalContext.cs
- DetailsViewPagerRow.cs
- Sequence.cs
- DbXmlEnabledProviderManifest.cs
- ExternalCalls.cs
- NativeRightsManagementAPIsStructures.cs
- IisTraceWebEventProvider.cs
- ECDiffieHellmanCngPublicKey.cs
- SliderAutomationPeer.cs
- Debug.cs
- Empty.cs
- VisualTreeHelper.cs
- StrokeNodeOperations2.cs
- WeakReference.cs
- SpoolingTask.cs
- listitem.cs
- Pair.cs
- ThumbAutomationPeer.cs
- CustomErrorCollection.cs
- ErrorHandler.cs
- GridPattern.cs
- Converter.cs
- WebPartUserCapability.cs
- WCFServiceClientProxyGenerator.cs
- XAMLParseException.cs
- CollectionViewGroupInternal.cs
- EntityClientCacheEntry.cs
- ModelItemExtensions.cs
- ThreadSafeList.cs
- RecipientInfo.cs
- TcpAppDomainProtocolHandler.cs
- TrackingAnnotationCollection.cs
- ListView.cs
- XPathDocumentNavigator.cs
- DataGridViewCellMouseEventArgs.cs
- FieldValue.cs
- RowSpanVector.cs
- DesignerAttribute.cs
- DropSource.cs
- ButtonStandardAdapter.cs
- ObjectToken.cs
- StatusBarPanel.cs
- OptimizerPatterns.cs