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
- DockEditor.cs
- AffineTransform3D.cs
- EntityRecordInfo.cs
- AssertSection.cs
- DayRenderEvent.cs
- WindowsButton.cs
- MSAAWinEventWrap.cs
- wpf-etw.cs
- UrlPath.cs
- CommandID.cs
- NestPullup.cs
- ReadOnlyDataSource.cs
- ObjectSet.cs
- BitmapEffectrendercontext.cs
- X509ChainElement.cs
- PropertyDescriptor.cs
- IdentityReference.cs
- WorkflowServiceHostFactory.cs
- InvalidCastException.cs
- ServiceDescription.cs
- Validator.cs
- XhtmlConformanceSection.cs
- XslAst.cs
- DiscoveryExceptionDictionary.cs
- HtmlAnchor.cs
- DateTimePicker.cs
- BreakSafeBase.cs
- XsdDateTime.cs
- clipboard.cs
- ConfigXmlText.cs
- Marshal.cs
- TypeContext.cs
- FontUnitConverter.cs
- KeyTimeConverter.cs
- TextureBrush.cs
- LinqDataSourceEditData.cs
- UriSectionReader.cs
- _IPv6Address.cs
- WebPartChrome.cs
- DataControlFieldHeaderCell.cs
- DiscardableAttribute.cs
- HelpEvent.cs
- HttpAsyncResult.cs
- RowType.cs
- OneOfElement.cs
- XamlSerializerUtil.cs
- FilterQueryOptionExpression.cs
- TypedServiceChannelBuilder.cs
- HttpAsyncResult.cs
- InkPresenter.cs
- GraphicsState.cs
- RuntimeHandles.cs
- DataPager.cs
- HotSpotCollection.cs
- PeerCollaborationPermission.cs
- XmlTextWriter.cs
- BackoffTimeoutHelper.cs
- TopClause.cs
- RowUpdatedEventArgs.cs
- HttpHandlersSection.cs
- ChangePassword.cs
- CssStyleCollection.cs
- WasHttpModulesInstallComponent.cs
- OleDbInfoMessageEvent.cs
- DataError.cs
- DataPager.cs
- ZipIOModeEnforcingStream.cs
- ViewValidator.cs
- ValueUtilsSmi.cs
- DocumentSchemaValidator.cs
- InstanceDataCollection.cs
- DataGridViewRow.cs
- GlyphRun.cs
- UpDownEvent.cs
- ExpressionBindings.cs
- RepeatButton.cs
- DataGridViewIntLinkedList.cs
- XPathNavigatorReader.cs
- StrokeCollectionDefaultValueFactory.cs
- ZipIOModeEnforcingStream.cs
- XmlSecureResolver.cs
- MetadataStore.cs
- ObjectTokenCategory.cs
- Run.cs
- XsdBuilder.cs
- CornerRadiusConverter.cs
- ToolStripRenderEventArgs.cs
- Brush.cs
- CodeNamespaceImport.cs
- ExceptionAggregator.cs
- ShapeTypeface.cs
- MergePropertyDescriptor.cs
- XmlBufferReader.cs
- BufferedMessageData.cs
- ExecutedRoutedEventArgs.cs
- CompositeActivityCodeGenerator.cs
- EventItfInfo.cs
- SqlMultiplexer.cs
- FileDialog.cs
- AspNetSynchronizationContext.cs