Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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) { } } } // 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
- ChtmlTextWriter.cs
- ArrayHelper.cs
- WebPartHelpVerb.cs
- SizeKeyFrameCollection.cs
- Resources.Designer.cs
- TileBrush.cs
- HtmlTernaryTree.cs
- Debug.cs
- LinearQuaternionKeyFrame.cs
- ViewgenContext.cs
- CachedFontFamily.cs
- CompilerTypeWithParams.cs
- TypeElementCollection.cs
- Mutex.cs
- EdmFunctionAttribute.cs
- InboundActivityHelper.cs
- FillRuleValidation.cs
- BinaryParser.cs
- PhysicalAddress.cs
- SchemaEntity.cs
- XmlReflectionImporter.cs
- MethodBuilder.cs
- LayoutEditorPart.cs
- BaseCodeDomTreeGenerator.cs
- BlockingCollection.cs
- ControlDesignerState.cs
- UIElementParagraph.cs
- METAHEADER.cs
- SqlStatistics.cs
- ProfileServiceManager.cs
- FixedBufferAttribute.cs
- IdlingCommunicationPool.cs
- WindowsSecurityToken.cs
- SystemIPInterfaceStatistics.cs
- MsmqUri.cs
- AddInDeploymentState.cs
- CodeTypeDelegate.cs
- Console.cs
- ProcessModuleDesigner.cs
- TraceSection.cs
- IDQuery.cs
- StrokeNodeOperations2.cs
- WebPartTransformerAttribute.cs
- SystemInfo.cs
- RadioButton.cs
- NameHandler.cs
- rsa.cs
- FrameworkContentElementAutomationPeer.cs
- RichTextBox.cs
- StrokeNodeOperations.cs
- FileReservationCollection.cs
- PointConverter.cs
- IItemProperties.cs
- MimeAnyImporter.cs
- WinFormsSpinner.cs
- LeftCellWrapper.cs
- CalendarButtonAutomationPeer.cs
- GrammarBuilderRuleRef.cs
- RotateTransform.cs
- MultiPropertyDescriptorGridEntry.cs
- MissingSatelliteAssemblyException.cs
- ParameterCollection.cs
- GridItemPattern.cs
- KeyConverter.cs
- DbMetaDataFactory.cs
- ResourceSetExpression.cs
- ValueQuery.cs
- NotCondition.cs
- BulletChrome.cs
- InvalidComObjectException.cs
- ResourcesBuildProvider.cs
- TrackingServices.cs
- EntityCodeGenerator.cs
- ObjectPersistData.cs
- WhiteSpaceTrimStringConverter.cs
- TextContainerHelper.cs
- AttachedProperty.cs
- ProviderConnectionPoint.cs
- TouchPoint.cs
- UpdatePanelControlTrigger.cs
- Touch.cs
- CorePropertiesFilter.cs
- _DisconnectOverlappedAsyncResult.cs
- FilterableAttribute.cs
- JoinGraph.cs
- Mappings.cs
- FrameSecurityDescriptor.cs
- InternalConfigEventArgs.cs
- HtmlInputButton.cs
- PassportAuthentication.cs
- keycontainerpermission.cs
- RawUIStateInputReport.cs
- HostingEnvironmentException.cs
- XmlSchemaDocumentation.cs
- BinaryObjectWriter.cs
- CalendarSelectionChangedEventArgs.cs
- CfgParser.cs
- ProvideValueServiceProvider.cs
- AddDataControlFieldDialog.cs
- Validator.cs