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
- RepeatButtonAutomationPeer.cs
- ResourcesBuildProvider.cs
- KeyboardEventArgs.cs
- RenameRuleObjectDialog.Designer.cs
- WebPartConnectionsCancelVerb.cs
- Propagator.ExtentPlaceholderCreator.cs
- FormViewModeEventArgs.cs
- CryptoApi.cs
- SoapAttributeAttribute.cs
- SizeIndependentAnimationStorage.cs
- DictionaryCustomTypeDescriptor.cs
- ButtonBase.cs
- SystemIcmpV4Statistics.cs
- MdiWindowListStrip.cs
- CodeStatementCollection.cs
- InputScopeNameConverter.cs
- InvalidAsynchronousStateException.cs
- HotSpot.cs
- AlgoModule.cs
- UrlAuthFailedErrorFormatter.cs
- SQLInt16Storage.cs
- BinaryMessageFormatter.cs
- CodeEntryPointMethod.cs
- HwndHost.cs
- ObjectView.cs
- HttpEncoderUtility.cs
- TypeResolvingOptions.cs
- MailWebEventProvider.cs
- SecurityDocument.cs
- WebReferencesBuildProvider.cs
- BufferedGraphicsManager.cs
- XmlSchemaValidator.cs
- AsyncPostBackErrorEventArgs.cs
- InputMethodStateChangeEventArgs.cs
- X509CertificateCollection.cs
- SqlNodeAnnotations.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- HttpModuleAction.cs
- OdbcReferenceCollection.cs
- ComplexType.cs
- GACIdentityPermission.cs
- DocumentViewerConstants.cs
- Profiler.cs
- CancellationToken.cs
- EventRoute.cs
- OpenFileDialog.cs
- ColumnTypeConverter.cs
- relpropertyhelper.cs
- Metafile.cs
- Tracer.cs
- FilteredAttributeCollection.cs
- InvalidMessageContractException.cs
- ClaimComparer.cs
- XmlWriterTraceListener.cs
- Function.cs
- SecurityCriticalDataForSet.cs
- DataMemberAttribute.cs
- XamlUtilities.cs
- EntryWrittenEventArgs.cs
- _AutoWebProxyScriptEngine.cs
- DateTimeFormatInfoScanner.cs
- FloaterBaseParagraph.cs
- ImageCollectionEditor.cs
- TableCellCollection.cs
- XD.cs
- DbConnectionPool.cs
- Int32KeyFrameCollection.cs
- PropertyTab.cs
- SocketAddress.cs
- VariantWrapper.cs
- SecureUICommand.cs
- SocketAddress.cs
- TranslateTransform3D.cs
- PasswordRecovery.cs
- WebPartZoneBase.cs
- DeflateStream.cs
- SQLInt32Storage.cs
- SourceElementsCollection.cs
- X509Certificate2.cs
- InternalConfigRoot.cs
- AsyncCodeActivity.cs
- BinaryUtilClasses.cs
- ExpandoObject.cs
- SplashScreenNativeMethods.cs
- DataListItem.cs
- XmlC14NWriter.cs
- JoinGraph.cs
- TextUtf8RawTextWriter.cs
- DateTimeHelper.cs
- CompoundFileStorageReference.cs
- LinkLabelLinkClickedEvent.cs
- SqlClientWrapperSmiStream.cs
- PropertyCollection.cs
- Section.cs
- UrlUtility.cs
- IgnoreDeviceFilterElementCollection.cs
- SoapWriter.cs
- DependencySource.cs
- CfgParser.cs
- WebMethodAttribute.cs