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
- NTAccount.cs
- Hash.cs
- SafeRightsManagementPubHandle.cs
- ItemAutomationPeer.cs
- CompositeFontInfo.cs
- TimeoutTimer.cs
- WinFormsSpinner.cs
- RangeValueProviderWrapper.cs
- DynamicEntity.cs
- MetaType.cs
- EncodingDataItem.cs
- DecoratedNameAttribute.cs
- ColorInterpolationModeValidation.cs
- ReferentialConstraint.cs
- HttpHandlerAction.cs
- ErrorLog.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- CollectionBuilder.cs
- StateItem.cs
- EntitySetDataBindingList.cs
- VirtualizedCellInfoCollection.cs
- CfgArc.cs
- ApplicationHost.cs
- OleDbConnectionInternal.cs
- ParallelTimeline.cs
- IntersectQueryOperator.cs
- RubberbandSelector.cs
- Visitor.cs
- DbDataReader.cs
- CustomError.cs
- XmlSchemaAnnotated.cs
- PackUriHelper.cs
- RadioButtonAutomationPeer.cs
- XmlProcessingInstruction.cs
- AncillaryOps.cs
- IndexedString.cs
- NavigationProgressEventArgs.cs
- StringWriter.cs
- Int64Storage.cs
- EntityContainerEmitter.cs
- BamlTreeNode.cs
- TemplateDefinition.cs
- IsolationInterop.cs
- ObfuscateAssemblyAttribute.cs
- XsdDuration.cs
- ExpressionsCollectionEditor.cs
- ImageSource.cs
- xmlfixedPageInfo.cs
- DateTime.cs
- ErrorFormatterPage.cs
- ClientConfigurationSystem.cs
- HttpRequestCacheValidator.cs
- SrgsDocumentParser.cs
- SelectedCellsChangedEventArgs.cs
- TraceEventCache.cs
- TreeViewCancelEvent.cs
- DataGridTablesFactory.cs
- AdapterDictionary.cs
- ModuleBuilderData.cs
- PointAnimationBase.cs
- RegexCode.cs
- ViewGenerator.cs
- Pointer.cs
- TemplateControlParser.cs
- IndentedWriter.cs
- DbProviderConfigurationHandler.cs
- ExtractorMetadata.cs
- ReadWriteObjectLock.cs
- RIPEMD160Managed.cs
- Polyline.cs
- HashHelper.cs
- LayoutSettings.cs
- SiteMapSection.cs
- JsonWriter.cs
- HebrewNumber.cs
- OleDbCommandBuilder.cs
- PropertyGridCommands.cs
- CodeGeneratorOptions.cs
- XmlSchemaType.cs
- AsymmetricSignatureDeformatter.cs
- TreeNodeClickEventArgs.cs
- TextSchema.cs
- RangeValidator.cs
- PbrsForward.cs
- Camera.cs
- ComPlusThreadInitializer.cs
- OdbcEnvironment.cs
- ExtendedProtectionPolicyTypeConverter.cs
- MsmqTransportSecurity.cs
- TypeConverterHelper.cs
- ServiceTimeoutsElement.cs
- ScriptReferenceEventArgs.cs
- FilterEventArgs.cs
- XmlDocumentSurrogate.cs
- EventDriven.cs
- Transform.cs
- ProxyRpc.cs
- SettingsSection.cs
- WindowsScroll.cs
- OleDbError.cs