Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Collections / Generic / KeyNotFoundException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated protected KeyNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InternalControlCollection.cs
- CheckoutException.cs
- UpdatePanel.cs
- TextBox.cs
- UrlAuthorizationModule.cs
- AtomParser.cs
- TargetConverter.cs
- XmlMembersMapping.cs
- TimeoutValidationAttribute.cs
- ClassDataContract.cs
- SynchronizedDispatch.cs
- EngineSiteSapi.cs
- UTF32Encoding.cs
- TemplateField.cs
- ConfigXmlText.cs
- ComponentDispatcher.cs
- XmlAttributeCache.cs
- DataKey.cs
- GacUtil.cs
- ListViewTableCell.cs
- PriorityBinding.cs
- InkCanvas.cs
- SchemaImporterExtensionElement.cs
- AnimationClock.cs
- PreviewPrintController.cs
- FrameworkReadOnlyPropertyMetadata.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- TableLayoutPanel.cs
- ComplexPropertyEntry.cs
- ResXResourceSet.cs
- OutputCacheSettings.cs
- control.ime.cs
- ContainerControl.cs
- RuleSetCollection.cs
- CommandEventArgs.cs
- FormViewInsertedEventArgs.cs
- PointConverter.cs
- PieceDirectory.cs
- DynamicPhysicalDiscoSearcher.cs
- TakeOrSkipQueryOperator.cs
- ComEventsSink.cs
- BuildManagerHost.cs
- datacache.cs
- SocketConnection.cs
- CroppedBitmap.cs
- QilStrConcat.cs
- ContactManager.cs
- BidPrivateBase.cs
- FormConverter.cs
- SqlRecordBuffer.cs
- RuntimeEnvironment.cs
- NumberSubstitution.cs
- Byte.cs
- LookupNode.cs
- CodeAttachEventStatement.cs
- TextPointer.cs
- ELinqQueryState.cs
- RoutingChannelExtension.cs
- SplashScreenNativeMethods.cs
- XmlUTF8TextWriter.cs
- MetadataAssemblyHelper.cs
- Configuration.cs
- UIElementAutomationPeer.cs
- SimpleMailWebEventProvider.cs
- DPTypeDescriptorContext.cs
- COM2ExtendedBrowsingHandler.cs
- DrawingVisualDrawingContext.cs
- CryptoProvider.cs
- MorphHelper.cs
- _Connection.cs
- DataGridViewDataErrorEventArgs.cs
- IntranetCredentialPolicy.cs
- SerializableAttribute.cs
- ISO2022Encoding.cs
- DbTransaction.cs
- AffineTransform3D.cs
- X500Name.cs
- _SslState.cs
- DataListCommandEventArgs.cs
- IndexedWhereQueryOperator.cs
- SafeHandles.cs
- ManagedIStream.cs
- WindowsListView.cs
- ArrayWithOffset.cs
- RC2CryptoServiceProvider.cs
- GatewayIPAddressInformationCollection.cs
- sapiproxy.cs
- ConnectionDemuxer.cs
- infer.cs
- SqlReorderer.cs
- DependencyObjectPropertyDescriptor.cs
- DtrList.cs
- ErrorProvider.cs
- EventDescriptorCollection.cs
- CodeSubDirectory.cs
- Lease.cs
- JournalEntryStack.cs
- _IPv6Address.cs
- WebPartDescriptionCollection.cs
- TemplateBindingExtensionConverter.cs