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
- XDeferredAxisSource.cs
- DataSourceConverter.cs
- ExpressionBuilder.cs
- NamespaceEmitter.cs
- RichTextBoxDesigner.cs
- LockRecoveryTask.cs
- PropertyInformation.cs
- OrderedDictionary.cs
- LoginUtil.cs
- HierarchicalDataSourceControl.cs
- Thread.cs
- recordstate.cs
- DataSetUtil.cs
- AliasGenerator.cs
- ConstructorBuilder.cs
- TokenBasedSet.cs
- VisualStateChangedEventArgs.cs
- MsmqTransportSecurity.cs
- TemplateInstanceAttribute.cs
- ReflectionTypeLoadException.cs
- WorkflowRuntime.cs
- AutoGeneratedFieldProperties.cs
- RuntimeConfigLKG.cs
- ReleaseInstanceMode.cs
- ObjectDataSourceStatusEventArgs.cs
- ThrowHelper.cs
- TransformPattern.cs
- CompiledQueryCacheEntry.cs
- ResourcePermissionBaseEntry.cs
- GPPOINT.cs
- JsonSerializer.cs
- OperatorExpressions.cs
- StoreAnnotationsMap.cs
- RichTextBoxAutomationPeer.cs
- VersionedStream.cs
- EncryptedPackageFilter.cs
- SendParametersContent.cs
- DataKey.cs
- TextBlockAutomationPeer.cs
- WorkerRequest.cs
- MouseEvent.cs
- TemplateControl.cs
- SqlConnectionManager.cs
- VectorAnimation.cs
- SessionEndingCancelEventArgs.cs
- InfoCardProofToken.cs
- Attributes.cs
- AutomationPattern.cs
- CommonXSendMessage.cs
- StyleXamlParser.cs
- CodeCompiler.cs
- SelectionEditor.cs
- AutomationAttributeInfo.cs
- Publisher.cs
- DataContractSerializerOperationBehavior.cs
- X509CertificateRecipientClientCredential.cs
- InputLanguageProfileNotifySink.cs
- HtmlElement.cs
- CharacterMetricsDictionary.cs
- NetTcpBindingCollectionElement.cs
- AutomationProperties.cs
- VirtualizedItemPattern.cs
- IdentityReference.cs
- oledbmetadatacolumnnames.cs
- SQLBinaryStorage.cs
- WebBrowserNavigatingEventHandler.cs
- JavaScriptString.cs
- TreeNodeBinding.cs
- ListBoxChrome.cs
- GlyphRunDrawing.cs
- FlowDocumentPage.cs
- ProcessProtocolHandler.cs
- TranslateTransform3D.cs
- TraceContextEventArgs.cs
- TextSelectionProcessor.cs
- FontStretches.cs
- ActivityExecutionContextCollection.cs
- DataTable.cs
- MatrixAnimationBase.cs
- StrongTypingException.cs
- ScriptServiceAttribute.cs
- Label.cs
- QilFunction.cs
- FunctionImportMapping.cs
- SrgsElementFactoryCompiler.cs
- DesignerTransactionCloseEvent.cs
- AxHost.cs
- HighContrastHelper.cs
- TextRangeProviderWrapper.cs
- XmlUnspecifiedAttribute.cs
- DataListCommandEventArgs.cs
- DesignerActionList.cs
- FontUnit.cs
- UnsafeNativeMethodsTablet.cs
- RepeatBehavior.cs
- XmlSignatureProperties.cs
- FocusTracker.cs
- NamedObject.cs
- GCHandleCookieTable.cs
- ConditionalWeakTable.cs