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
- CriticalFinalizerObject.cs
- TextSpanModifier.cs
- SubMenuStyleCollection.cs
- CompilerInfo.cs
- SendActivityDesignerTheme.cs
- DataGridViewTextBoxColumn.cs
- PageHandlerFactory.cs
- Fx.cs
- XPathNodePointer.cs
- BroadcastEventHelper.cs
- WasEndpointConfigContainer.cs
- PinnedBufferMemoryStream.cs
- XPathNodeList.cs
- ApplicationException.cs
- CommandExpr.cs
- FileCodeGroup.cs
- Quack.cs
- CodeMemberMethod.cs
- MeshGeometry3D.cs
- HiddenField.cs
- InputLanguageSource.cs
- ChannelServices.cs
- CodeRegionDirective.cs
- TiffBitmapDecoder.cs
- WebDisplayNameAttribute.cs
- DropTarget.cs
- SID.cs
- ArcSegment.cs
- SrgsNameValueTag.cs
- FontCacheLogic.cs
- WebServiceResponse.cs
- XmlSchemaException.cs
- TreeView.cs
- ReadWriteObjectLock.cs
- PropVariant.cs
- _HeaderInfoTable.cs
- GenericIdentity.cs
- ZoomComboBox.cs
- ToolBar.cs
- SimpleHandlerFactory.cs
- Highlights.cs
- AspNetHostingPermission.cs
- WebBrowserUriTypeConverter.cs
- CheckBox.cs
- FaultFormatter.cs
- WindowsUpDown.cs
- CqlErrorHelper.cs
- InputLanguageManager.cs
- ToolStripItemClickedEventArgs.cs
- StopStoryboard.cs
- StreamSecurityUpgradeAcceptor.cs
- CodeCompiler.cs
- DateTimeSerializationSection.cs
- ArgumentDirectionHelper.cs
- XPathParser.cs
- SaveFileDialog.cs
- MethodToken.cs
- EntityDescriptor.cs
- RSAProtectedConfigurationProvider.cs
- VolatileResourceManager.cs
- TextFormatter.cs
- ListViewDataItem.cs
- TextModifierScope.cs
- ConstraintStruct.cs
- ConfigXmlWhitespace.cs
- ByteArrayHelperWithString.cs
- XmlSignificantWhitespace.cs
- GetPageNumberCompletedEventArgs.cs
- SeekableMessageNavigator.cs
- SqlServer2KCompatibilityCheck.cs
- PageAsyncTask.cs
- ErrorInfoXmlDocument.cs
- TreeView.cs
- RankException.cs
- TemplateBindingExtension.cs
- DATA_BLOB.cs
- RoleManagerModule.cs
- ConsoleCancelEventArgs.cs
- DataControlImageButton.cs
- Marshal.cs
- TypeSemantics.cs
- DataSpaceManager.cs
- ImpersonationContext.cs
- CodeSnippetTypeMember.cs
- InitializerFacet.cs
- PersonalizationStateInfo.cs
- ViewBase.cs
- TextContainerChangeEventArgs.cs
- EnvironmentPermission.cs
- MouseOverProperty.cs
- OleDbStruct.cs
- XmlSerializationGeneratedCode.cs
- _NestedMultipleAsyncResult.cs
- figurelengthconverter.cs
- WebPartTransformerCollection.cs
- XmlReader.cs
- InfoCardArgumentException.cs
- UnsettableComboBox.cs
- Switch.cs
- DataGridViewCellLinkedList.cs