Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DecoderBestFitFallback.cs
- RequestCacheManager.cs
- SystemColorTracker.cs
- ToolStripRenderEventArgs.cs
- CompilerGlobalScopeAttribute.cs
- ControlCachePolicy.cs
- __TransparentProxy.cs
- ValidationSummaryDesigner.cs
- SendSecurityHeaderElementContainer.cs
- ConnectionInterfaceCollection.cs
- CachedTypeface.cs
- EnumerationRangeValidationUtil.cs
- ISAPIRuntime.cs
- ColumnHeader.cs
- RangeValuePatternIdentifiers.cs
- ClientBuildManagerCallback.cs
- DataServiceExpressionVisitor.cs
- ByteAnimation.cs
- PropertySegmentSerializationProvider.cs
- DescendantBaseQuery.cs
- ComponentDispatcherThread.cs
- ButtonStandardAdapter.cs
- UriPrefixTable.cs
- Selection.cs
- TablePatternIdentifiers.cs
- SchemaReference.cs
- XPathNodeInfoAtom.cs
- EventHandlersStore.cs
- Binding.cs
- AssemblyUtil.cs
- MailSettingsSection.cs
- TimeSpanHelper.cs
- WorkflowViewStateService.cs
- HScrollProperties.cs
- ThreadNeutralSemaphore.cs
- SapiRecoContext.cs
- ObjectParameter.cs
- Lazy.cs
- Font.cs
- CompilationRelaxations.cs
- IndexedGlyphRun.cs
- Privilege.cs
- OdbcRowUpdatingEvent.cs
- SignatureDescription.cs
- CompiledXpathExpr.cs
- TrackingConditionCollection.cs
- HandledEventArgs.cs
- DataServiceException.cs
- ConnectionOrientedTransportElement.cs
- FunctionImportMapping.cs
- CollectionType.cs
- FormParameter.cs
- WebBrowser.cs
- PeerTransportListenAddressValidatorAttribute.cs
- InkCanvasAutomationPeer.cs
- FamilyCollection.cs
- GraphicsPathIterator.cs
- CachedBitmap.cs
- WebPartMenuStyle.cs
- MultipartIdentifier.cs
- NegotiateStream.cs
- EmptyControlCollection.cs
- SingleResultAttribute.cs
- DuplicateWaitObjectException.cs
- Stack.cs
- ValueQuery.cs
- CurrencyManager.cs
- PeerChannelListener.cs
- ContextInformation.cs
- StringAttributeCollection.cs
- MarkupCompilePass1.cs
- TraceUtility.cs
- DesignOnlyAttribute.cs
- HttpListenerElement.cs
- TimeoutException.cs
- CoTaskMemHandle.cs
- StructuralObject.cs
- Win32Exception.cs
- Version.cs
- KeyInfo.cs
- FontStretchConverter.cs
- ClientFactory.cs
- complextypematerializer.cs
- AudioFormatConverter.cs
- DBDataPermission.cs
- XmlDataSource.cs
- DefaultSettingsSection.cs
- EndpointAddressElementBase.cs
- WebBrowserNavigatedEventHandler.cs
- List.cs
- Double.cs
- TextBoxBase.cs
- DrawingAttributesDefaultValueFactory.cs
- SelectedGridItemChangedEvent.cs
- SettingsContext.cs
- RadioButtonFlatAdapter.cs
- UrlPath.cs
- CategoryNameCollection.cs
- SurrogateEncoder.cs
- DataGridViewCellStyle.cs