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
- InvalidFilterCriteriaException.cs
- RawStylusInputReport.cs
- DoubleLinkListEnumerator.cs
- XmlText.cs
- Timer.cs
- UiaCoreApi.cs
- MailHeaderInfo.cs
- JapaneseLunisolarCalendar.cs
- DynamicDataExtensions.cs
- VirtualizingStackPanel.cs
- InputMethod.cs
- DefaultDialogButtons.cs
- XmlTextAttribute.cs
- RuleSettingsCollection.cs
- ServiceMetadataContractBehavior.cs
- CryptoApi.cs
- GridView.cs
- StylusPlugin.cs
- ContourSegment.cs
- HttpApplicationFactory.cs
- DataException.cs
- MsmqBindingBase.cs
- OutputCacheSettings.cs
- PenCursorManager.cs
- XPathBinder.cs
- SchemaTypeEmitter.cs
- XamlVector3DCollectionSerializer.cs
- MessageBodyDescription.cs
- OletxVolatileEnlistment.cs
- UserControlBuildProvider.cs
- mansign.cs
- EntityChangedParams.cs
- BindToObject.cs
- EventLogSession.cs
- ProjectedSlot.cs
- _Rfc2616CacheValidators.cs
- EdmItemError.cs
- TypedTableBase.cs
- PolicyStatement.cs
- CodeGroup.cs
- XmlDomTextWriter.cs
- TableCellAutomationPeer.cs
- ValidationRuleCollection.cs
- XmlSchemaAnnotated.cs
- CompositeCollectionView.cs
- PropertyConverter.cs
- TypeSchema.cs
- WmlFormAdapter.cs
- WebPageTraceListener.cs
- TextBox.cs
- ConfigurationManager.cs
- CellTreeNodeVisitors.cs
- RichTextBox.cs
- StringTraceRecord.cs
- ClaimTypeElementCollection.cs
- HelloMessageCD1.cs
- TextLineBreak.cs
- AsnEncodedData.cs
- IndependentAnimationStorage.cs
- FormsAuthenticationTicket.cs
- StringValueSerializer.cs
- PermissionSet.cs
- DbConnectionClosed.cs
- EdmValidator.cs
- StrongNameUtility.cs
- CategoryNameCollection.cs
- SvcMapFileSerializer.cs
- SqlClientMetaDataCollectionNames.cs
- Scripts.cs
- Message.cs
- DataGridDetailsPresenterAutomationPeer.cs
- ControlBindingsCollection.cs
- XmlArrayItemAttribute.cs
- EventDescriptor.cs
- XmlSchemas.cs
- ResXResourceWriter.cs
- KeyNotFoundException.cs
- StringConcat.cs
- AutoGeneratedFieldProperties.cs
- ListViewItem.cs
- ProjectionPathSegment.cs
- RuntimeCompatibilityAttribute.cs
- CustomAttributeFormatException.cs
- EDesignUtil.cs
- Event.cs
- InputBindingCollection.cs
- AudioBase.cs
- ProxyManager.cs
- RSAOAEPKeyExchangeFormatter.cs
- ScaleTransform3D.cs
- BitmapSourceSafeMILHandle.cs
- OleDbConnectionFactory.cs
- Baml2006KnownTypes.cs
- Encoder.cs
- BezierSegment.cs
- RankException.cs
- Translator.cs
- TabControl.cs
- LexicalChunk.cs
- MissingFieldException.cs