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
- ProxyWebPart.cs
- OpenTypeLayout.cs
- TabletDevice.cs
- SecurityCriticalDataForSet.cs
- AutomationFocusChangedEventArgs.cs
- ListViewUpdateEventArgs.cs
- DesignerSerializationOptionsAttribute.cs
- ResourceSetExpression.cs
- HexParser.cs
- PersonalizablePropertyEntry.cs
- TextReader.cs
- WorkflowTransactionService.cs
- GregorianCalendarHelper.cs
- DbExpressionVisitor.cs
- NonVisualControlAttribute.cs
- UiaCoreProviderApi.cs
- ComponentDispatcherThread.cs
- BindingContext.cs
- Ops.cs
- UseAttributeSetsAction.cs
- XmlSecureResolver.cs
- InteropAutomationProvider.cs
- BufferedStream.cs
- BoolLiteral.cs
- MatrixValueSerializer.cs
- RegexReplacement.cs
- CheckedListBox.cs
- EncryptedXml.cs
- Nullable.cs
- StdValidatorsAndConverters.cs
- ReverseInheritProperty.cs
- PreservationFileWriter.cs
- CompilerState.cs
- FormatterServices.cs
- FastEncoder.cs
- DiagnosticEventProvider.cs
- Vector3DConverter.cs
- Crc32.cs
- ConnectionStringsExpressionBuilder.cs
- TypeDescriptor.cs
- XmlUtil.cs
- ToolStripDropDownItem.cs
- NoClickablePointException.cs
- ButtonChrome.cs
- ComponentResourceManager.cs
- EdmComplexTypeAttribute.cs
- ProcessExitedException.cs
- HtmlInputButton.cs
- FileClassifier.cs
- FontStretch.cs
- ScriptControlManager.cs
- VoiceSynthesis.cs
- Environment.cs
- sqlstateclientmanager.cs
- RefreshEventArgs.cs
- DigitShape.cs
- ScriptServiceAttribute.cs
- AbstractExpressions.cs
- COM2AboutBoxPropertyDescriptor.cs
- _SecureChannel.cs
- sqlcontext.cs
- TextWriterTraceListener.cs
- StandardCommands.cs
- LicenseException.cs
- PriorityQueue.cs
- DesignerDataView.cs
- SqlServer2KCompatibilityCheck.cs
- VerticalAlignConverter.cs
- SplayTreeNode.cs
- NumericUpDown.cs
- MenuBase.cs
- DesigntimeLicenseContextSerializer.cs
- EndpointPerformanceCounters.cs
- TextRunCache.cs
- MarshalByValueComponent.cs
- InfoCardSchemas.cs
- LinkAreaEditor.cs
- TogglePattern.cs
- GridItemPattern.cs
- SafeWaitHandle.cs
- sqlmetadatafactory.cs
- XmlTextReaderImplHelpers.cs
- XhtmlBasicControlAdapter.cs
- FixedFlowMap.cs
- ImmutableAssemblyCacheEntry.cs
- Bits.cs
- PartManifestEntry.cs
- XmlNodeList.cs
- AuthorizationRuleCollection.cs
- SafeSecurityHandles.cs
- ListArgumentProvider.cs
- SqlConnectionPoolProviderInfo.cs
- PersonalizablePropertyEntry.cs
- User.cs
- FormViewPagerRow.cs
- UntypedNullExpression.cs
- Exception.cs
- DayRenderEvent.cs
- DiscoveryProxy.cs
- QuaternionValueSerializer.cs