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
- SystemUdpStatistics.cs
- WorkflowInstanceTerminatedRecord.cs
- ExceptQueryOperator.cs
- ToolStripLocationCancelEventArgs.cs
- MeasurementDCInfo.cs
- FlowDocumentPaginator.cs
- SymmetricSecurityProtocolFactory.cs
- PersianCalendar.cs
- SupportedAddressingMode.cs
- HtmlTableCellCollection.cs
- wpf-etw.cs
- NamespaceDecl.cs
- ChildTable.cs
- XPathNavigatorKeyComparer.cs
- TimeSpanConverter.cs
- InputReferenceExpression.cs
- DataTable.cs
- LineSegment.cs
- HttpValueCollection.cs
- remotingproxy.cs
- PeerApplication.cs
- Attributes.cs
- ItemCollection.cs
- ActiveXContainer.cs
- EventArgs.cs
- ExpressionVisitorHelpers.cs
- LineServicesRun.cs
- ConnectionManagementElement.cs
- CriticalHandle.cs
- linebase.cs
- input.cs
- BulletedListEventArgs.cs
- SQLInt64.cs
- Crypto.cs
- TagPrefixCollection.cs
- ResourceProperty.cs
- FeedUtils.cs
- ProfileSettingsCollection.cs
- DataGridAddNewRow.cs
- InplaceBitmapMetadataWriter.cs
- TreeNodeBinding.cs
- TypeSystem.cs
- DecoratedNameAttribute.cs
- Convert.cs
- FileUtil.cs
- FileLogRecord.cs
- WorkflowPageSetupDialog.cs
- MultipartContentParser.cs
- VectorAnimation.cs
- _BufferOffsetSize.cs
- ArrangedElementCollection.cs
- Int64AnimationUsingKeyFrames.cs
- CharacterMetricsDictionary.cs
- XmlSerializableServices.cs
- Tokenizer.cs
- NonBatchDirectoryCompiler.cs
- RegexWriter.cs
- GenericTextProperties.cs
- DataGridComponentEditor.cs
- WorkflowDurableInstance.cs
- TextElement.cs
- BaseResourcesBuildProvider.cs
- Unit.cs
- ItemContainerProviderWrapper.cs
- WindowsFormsEditorServiceHelper.cs
- ColorConvertedBitmapExtension.cs
- ExpressionPrefixAttribute.cs
- ExecutionTracker.cs
- CookieParameter.cs
- Pen.cs
- VarRemapper.cs
- ModelItemImpl.cs
- UTF8Encoding.cs
- BaseTreeIterator.cs
- Stack.cs
- CellLabel.cs
- BinHexEncoder.cs
- SamlAttributeStatement.cs
- ResolveNextArgumentWorkItem.cs
- PackagingUtilities.cs
- ObjectViewListener.cs
- SettingsBase.cs
- ResourceWriter.cs
- NameValueSectionHandler.cs
- SoapParser.cs
- TypeForwardedToAttribute.cs
- LateBoundBitmapDecoder.cs
- UnmanagedHandle.cs
- TargetException.cs
- TextBoxBase.cs
- UrlAuthFailedErrorFormatter.cs
- StateBag.cs
- ParameterDataSourceExpression.cs
- DateTimeConstantAttribute.cs
- PictureBox.cs
- NewItemsContextMenuStrip.cs
- TypeSystemProvider.cs
- VSDExceptions.cs
- EdmToObjectNamespaceMap.cs
- counter.cs