Code:
/ FX-1434 / FX-1434 / 1.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
- EntityProxyTypeInfo.cs
- DATA_BLOB.cs
- basevalidator.cs
- XmlAnyElementAttribute.cs
- SecurityNegotiationException.cs
- ErrorStyle.cs
- ViewGenResults.cs
- CommonObjectSecurity.cs
- InitializerFacet.cs
- AccessKeyManager.cs
- HttpContextServiceHost.cs
- Activator.cs
- DataGridViewDataErrorEventArgs.cs
- TextBox.cs
- OciLobLocator.cs
- PublishLicense.cs
- _AutoWebProxyScriptWrapper.cs
- ValueTypeFixupInfo.cs
- DropShadowBitmapEffect.cs
- Comparer.cs
- BaseResourcesBuildProvider.cs
- DependencyObjectType.cs
- XPathAxisIterator.cs
- Timeline.cs
- AssociatedControlConverter.cs
- MouseEventArgs.cs
- MLangCodePageEncoding.cs
- DataServiceQuery.cs
- ComboBox.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- BinaryMethodMessage.cs
- SoapMessage.cs
- AliasedExpr.cs
- hresults.cs
- _NegotiateClient.cs
- RecommendedAsConfigurableAttribute.cs
- RepeaterItemEventArgs.cs
- ScriptModule.cs
- KeyToListMap.cs
- BitSet.cs
- UnSafeCharBuffer.cs
- RecordManager.cs
- initElementDictionary.cs
- BinaryUtilClasses.cs
- IItemProperties.cs
- bindurihelper.cs
- ProcessInfo.cs
- ProbeMatchesMessageCD1.cs
- SelectedDatesCollection.cs
- ControlBuilderAttribute.cs
- BamlLocalizer.cs
- EndpointIdentityExtension.cs
- TypeToStringValueConverter.cs
- Version.cs
- TrackingDataItem.cs
- HttpApplicationFactory.cs
- Graphics.cs
- ThrowHelper.cs
- SafeHandles.cs
- ElementNotAvailableException.cs
- unsafeIndexingFilterStream.cs
- PeerCollaborationPermission.cs
- Random.cs
- MailAddress.cs
- Stylesheet.cs
- IHttpResponseInternal.cs
- DataReceivedEventArgs.cs
- AuthorizationSection.cs
- CultureInfoConverter.cs
- AsymmetricSignatureDeformatter.cs
- Win32PrintDialog.cs
- xml.cs
- Timer.cs
- ToolStripStatusLabel.cs
- PathNode.cs
- TimeZone.cs
- UniformGrid.cs
- RangeValueProviderWrapper.cs
- XmlDictionary.cs
- Int32RectConverter.cs
- _Events.cs
- TakeQueryOptionExpression.cs
- WebServiceTypeData.cs
- XmlSchemaAnnotation.cs
- PhonemeConverter.cs
- StructuredTypeInfo.cs
- DrawingImage.cs
- RemotingConfigParser.cs
- DesignerTextViewAdapter.cs
- SpecularMaterial.cs
- XamlRtfConverter.cs
- DataRow.cs
- ClickablePoint.cs
- basenumberconverter.cs
- MultiSelector.cs
- StateItem.cs
- SystemIPGlobalProperties.cs
- WebPartTransformerAttribute.cs
- EventDescriptor.cs
- SlotInfo.cs