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
- CodeDomConfigurationHandler.cs
- FontStyle.cs
- SafeTimerHandle.cs
- CustomAttribute.cs
- HostAdapter.cs
- CSharpCodeProvider.cs
- Application.cs
- __Filters.cs
- HttpWebRequest.cs
- MenuScrollingVisibilityConverter.cs
- DataGridClipboardCellContent.cs
- DefinitionProperties.cs
- EnterpriseServicesHelper.cs
- BamlReader.cs
- CompressedStack.cs
- PrintingPermission.cs
- StyleReferenceConverter.cs
- TrackBar.cs
- TagPrefixCollection.cs
- InvokeMethodActivityDesigner.cs
- SystemNetHelpers.cs
- PasswordDeriveBytes.cs
- MessageContractAttribute.cs
- CompositeFontParser.cs
- UIElementPropertyUndoUnit.cs
- DisplayMemberTemplateSelector.cs
- CodeGenerationManager.cs
- ContainerUtilities.cs
- Table.cs
- WindowsPen.cs
- SchemaMapping.cs
- Attributes.cs
- ContextMenuAutomationPeer.cs
- GcHandle.cs
- XmlDocumentViewSchema.cs
- LogicalTreeHelper.cs
- CodeDomDesignerLoader.cs
- Flattener.cs
- SizeAnimationUsingKeyFrames.cs
- ContentFileHelper.cs
- ManipulationPivot.cs
- ScaleTransform.cs
- Preprocessor.cs
- TraceContextEventArgs.cs
- X509SecurityTokenAuthenticator.cs
- WindowsToolbarAsMenu.cs
- GeneratedCodeAttribute.cs
- StreamFormatter.cs
- TreeViewEvent.cs
- PrintPageEvent.cs
- ConnectionManagementElement.cs
- DataGridBoolColumn.cs
- _Events.cs
- FileUtil.cs
- InputBinder.cs
- DoubleConverter.cs
- DbQueryCommandTree.cs
- StatusStrip.cs
- NullableIntSumAggregationOperator.cs
- EntityTypeEmitter.cs
- ProcessModule.cs
- MDIClient.cs
- CodeIndexerExpression.cs
- OdbcDataReader.cs
- Select.cs
- ToolStripSystemRenderer.cs
- UIAgentAsyncParams.cs
- SqlInternalConnection.cs
- SqlClientWrapperSmiStream.cs
- AspNetSynchronizationContext.cs
- ImageListUtils.cs
- _SslStream.cs
- MarshalByValueComponent.cs
- AggregatePushdown.cs
- RelationshipEndCollection.cs
- RegistryPermission.cs
- GroupPartitionExpr.cs
- LocalsItemDescription.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- RenderDataDrawingContext.cs
- returneventsaver.cs
- HostnameComparisonMode.cs
- DocumentPageViewAutomationPeer.cs
- SynchronizationFilter.cs
- HttpCachePolicyElement.cs
- AuthenticationManager.cs
- SessionPageStatePersister.cs
- WorkflowWebService.cs
- Pkcs9Attribute.cs
- DeferredReference.cs
- TextElementEnumerator.cs
- ArgumentNullException.cs
- ViewEvent.cs
- ConfigPathUtility.cs
- PipelineModuleStepContainer.cs
- CmsInterop.cs
- TemplatedEditableDesignerRegion.cs
- PackageRelationship.cs
- FileLogRecordHeader.cs
- Matrix3D.cs