Code:
/ DotNET / DotNET / 8.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
- TextSpanModifier.cs
- EventItfInfo.cs
- SmtpFailedRecipientsException.cs
- EmptyStringExpandableObjectConverter.cs
- FragmentQueryProcessor.cs
- WebCategoryAttribute.cs
- URLAttribute.cs
- Certificate.cs
- BinaryObjectInfo.cs
- SqlTransaction.cs
- TableFieldsEditor.cs
- SmtpAuthenticationManager.cs
- CodeCompiler.cs
- InnerItemCollectionView.cs
- TreeViewImageKeyConverter.cs
- CookieProtection.cs
- XPathNavigatorReader.cs
- HttpModulesSection.cs
- UnionCqlBlock.cs
- ChineseLunisolarCalendar.cs
- RuntimeArgumentHandle.cs
- DocumentXPathNavigator.cs
- DataGridColumnHeader.cs
- DrawingImage.cs
- WhitespaceRule.cs
- StreamGeometryContext.cs
- XmlIlVisitor.cs
- FaultReason.cs
- TemplateBindingExpression.cs
- BaseCollection.cs
- ParserContext.cs
- ECDsaCng.cs
- ExceptionRoutedEventArgs.cs
- Literal.cs
- SizeIndependentAnimationStorage.cs
- SerializableAuthorizationContext.cs
- xdrvalidator.cs
- PhysicalAddress.cs
- ByteFacetDescriptionElement.cs
- CalendarDesigner.cs
- WindowsSolidBrush.cs
- ManifestSignedXml.cs
- SafeEventLogReadHandle.cs
- OracleConnectionFactory.cs
- TracePayload.cs
- SocketElement.cs
- MemoryResponseElement.cs
- DataGridCellEditEndingEventArgs.cs
- SplitterPanelDesigner.cs
- BasicCellRelation.cs
- AffineTransform3D.cs
- URIFormatException.cs
- TextClipboardData.cs
- DataBoundControl.cs
- ProtectedConfigurationSection.cs
- KeyValuePairs.cs
- ServerValidateEventArgs.cs
- ObjectTag.cs
- MenuCommands.cs
- DataGridViewSortCompareEventArgs.cs
- WorkflowFileItem.cs
- ModelService.cs
- CompilationUtil.cs
- EncryptedPackage.cs
- SqlFacetAttribute.cs
- BinaryWriter.cs
- RenderDataDrawingContext.cs
- HostingEnvironment.cs
- TypeGeneratedEventArgs.cs
- SequenceDesigner.cs
- XmlCharCheckingWriter.cs
- ConnectivityStatus.cs
- PointAnimation.cs
- StatusBar.cs
- TableNameAttribute.cs
- XamlInt32CollectionSerializer.cs
- SoapElementAttribute.cs
- ImagingCache.cs
- UrlPath.cs
- WebDisplayNameAttribute.cs
- TypeInitializationException.cs
- DesignerExtenders.cs
- XmlSchemaAttribute.cs
- ActionFrame.cs
- NoClickablePointException.cs
- FamilyTypefaceCollection.cs
- ComboBoxRenderer.cs
- HtmlTableCell.cs
- LocalizableResourceBuilder.cs
- XmlEntity.cs
- PersonalizablePropertyEntry.cs
- IndexOutOfRangeException.cs
- WebPartMovingEventArgs.cs
- ThicknessAnimationUsingKeyFrames.cs
- SafePointer.cs
- ListViewContainer.cs
- CallContext.cs
- WebSysDescriptionAttribute.cs
- UriTemplateQueryValue.cs
- XamlToRtfWriter.cs