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
- TableLayout.cs
- EditingCommands.cs
- _NestedSingleAsyncResult.cs
- SingleObjectCollection.cs
- DataTable.cs
- CursorEditor.cs
- precedingquery.cs
- CanonicalFontFamilyReference.cs
- LinearGradientBrush.cs
- StateMachineDesignerPaint.cs
- BufferCache.cs
- StringAnimationBase.cs
- TypefaceMap.cs
- CompatibleComparer.cs
- DiscoveryExceptionDictionary.cs
- PermissionAttributes.cs
- NativeWindow.cs
- HtmlTitle.cs
- StsCommunicationException.cs
- EntityDescriptor.cs
- SelectionRangeConverter.cs
- XmlnsDictionary.cs
- DetailsViewUpdateEventArgs.cs
- DoubleCollection.cs
- DataGridViewRowEventArgs.cs
- HttpListenerPrefixCollection.cs
- DATA_BLOB.cs
- CategoryAttribute.cs
- WindowPatternIdentifiers.cs
- WSHttpSecurity.cs
- linebase.cs
- ItemMap.cs
- Bitmap.cs
- DictionaryEntry.cs
- ProjectedSlot.cs
- ObjectDataSourceSelectingEventArgs.cs
- SapiGrammar.cs
- OperationCanceledException.cs
- XPathDocumentBuilder.cs
- ResourceContainer.cs
- GridViewEditEventArgs.cs
- ObjectDataSourceEventArgs.cs
- SqlHelper.cs
- VideoDrawing.cs
- WizardStepCollectionEditor.cs
- WorkflowViewService.cs
- AlternateViewCollection.cs
- DataGridViewMethods.cs
- ComponentFactoryHelpers.cs
- DebugViewWriter.cs
- ClientConfigurationHost.cs
- CompositeCollection.cs
- _HeaderInfoTable.cs
- Pkcs9Attribute.cs
- ClonableStack.cs
- TableChangeProcessor.cs
- OptimizedTemplateContent.cs
- HoistedLocals.cs
- ZoomPercentageConverter.cs
- ReaderOutput.cs
- CapabilitiesUse.cs
- RijndaelCryptoServiceProvider.cs
- RelationHandler.cs
- CellConstant.cs
- ViewSimplifier.cs
- EventLog.cs
- DbException.cs
- ElementProxy.cs
- TreeNodeStyleCollection.cs
- HostUtils.cs
- SimpleMailWebEventProvider.cs
- PageSettings.cs
- SqlRewriteScalarSubqueries.cs
- Literal.cs
- LifetimeServices.cs
- StackOverflowException.cs
- SoapSchemaExporter.cs
- AnnotationAdorner.cs
- ObjectDataSourceView.cs
- CompiledScopeCriteria.cs
- FileUtil.cs
- HttpCookiesSection.cs
- CharAnimationUsingKeyFrames.cs
- Axis.cs
- DbConnectionStringBuilder.cs
- CircleEase.cs
- OdbcReferenceCollection.cs
- TemplateColumn.cs
- ErrorBehavior.cs
- RightsManagementPermission.cs
- ToolboxComponentsCreatingEventArgs.cs
- HierarchicalDataTemplate.cs
- ApplicationHost.cs
- PageAsyncTaskManager.cs
- ObfuscateAssemblyAttribute.cs
- Source.cs
- ConfigXmlDocument.cs
- VirtualPathExtension.cs
- DefaultTraceListener.cs
- CompareValidator.cs