Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / NotSupportedException.cs / 1 / NotSupportedException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: NotSupportedException ** ** ** Purpose: For methods that should be implemented on subclasses. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class NotSupportedException : SystemException { public NotSupportedException() : base(Environment.GetResourceString("Arg_NotSupportedException")) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } public NotSupportedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } public NotSupportedException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } protected NotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: NotSupportedException ** ** ** Purpose: For methods that should be implemented on subclasses. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class NotSupportedException : SystemException { public NotSupportedException() : base(Environment.GetResourceString("Arg_NotSupportedException")) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } public NotSupportedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } public NotSupportedException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } protected NotSupportedException(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
- WMIInterop.cs
- XmlMapping.cs
- MetabaseServerConfig.cs
- InputScopeNameConverter.cs
- LinearGradientBrush.cs
- HttpCacheVary.cs
- FrameworkElementFactory.cs
- BaseAddressPrefixFilterElementCollection.cs
- MimeTypePropertyAttribute.cs
- XmlSchemaType.cs
- EdgeModeValidation.cs
- CornerRadiusConverter.cs
- TransactionFlowBindingElement.cs
- Receive.cs
- CuspData.cs
- LinqTreeNodeEvaluator.cs
- PopupEventArgs.cs
- CollectionViewSource.cs
- MetadataPropertyvalue.cs
- Config.cs
- MonthChangedEventArgs.cs
- HttpProcessUtility.cs
- XmlSchemaException.cs
- DataGridColumnCollection.cs
- DefinitionBase.cs
- X509ChainElement.cs
- BinaryMethodMessage.cs
- ExeContext.cs
- EntityProviderFactory.cs
- OptionalRstParameters.cs
- CopyOfAction.cs
- SymmetricAlgorithm.cs
- MultiAsyncResult.cs
- DataGridViewComboBoxCell.cs
- FactoryGenerator.cs
- DataContractSerializerSection.cs
- PropertyInfoSet.cs
- TextLineResult.cs
- TransactionValidationBehavior.cs
- KnownTypesProvider.cs
- OptionalMessageQuery.cs
- UnregisterInfo.cs
- BinaryKeyIdentifierClause.cs
- TargetInvocationException.cs
- TransformedBitmap.cs
- XPathNavigatorReader.cs
- StyleCollection.cs
- RequestResizeEvent.cs
- HttpVersion.cs
- DynamicPropertyReader.cs
- DesignerCategoryAttribute.cs
- _BaseOverlappedAsyncResult.cs
- XmlSchemaSimpleContentExtension.cs
- TransformGroup.cs
- SocketPermission.cs
- CustomTrackingQuery.cs
- Menu.cs
- AssemblyEvidenceFactory.cs
- XmlExtensionFunction.cs
- Hash.cs
- CFStream.cs
- OleDragDropHandler.cs
- XamlTemplateSerializer.cs
- StorageMappingItemCollection.cs
- SharedPersonalizationStateInfo.cs
- RuleSettings.cs
- InvalidPrinterException.cs
- WindowHelperService.cs
- SrgsRulesCollection.cs
- SerializationBinder.cs
- CounterNameConverter.cs
- XmlAnyAttributeAttribute.cs
- LineServices.cs
- NameValuePermission.cs
- XmlSchemaSimpleTypeUnion.cs
- ConfigurationException.cs
- RandomNumberGenerator.cs
- GenerateTemporaryAssemblyTask.cs
- NullableDecimalAverageAggregationOperator.cs
- TextElementEnumerator.cs
- PointUtil.cs
- EntityRecordInfo.cs
- Lasso.cs
- BitmapEffectvisualstate.cs
- DataGridAddNewRow.cs
- DynamicILGenerator.cs
- WorkflowApplicationException.cs
- ToolStripDropDownMenu.cs
- InfoCardMetadataExchangeClient.cs
- CryptoApi.cs
- QualificationDataAttribute.cs
- PartialTrustValidationBehavior.cs
- DaylightTime.cs
- SHA256Cng.cs
- HttpServerChannel.cs
- WebRequestModuleElement.cs
- QueryComponents.cs
- PaperSource.cs
- DirectoryInfo.cs
- ValueConversionAttribute.cs