Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / NotSupportedException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- StructureChangedEventArgs.cs
- RegisteredScript.cs
- FlagsAttribute.cs
- ChannelBuilder.cs
- AutomationEventArgs.cs
- SerializerWriterEventHandlers.cs
- WebConfigurationFileMap.cs
- PolicyException.cs
- XamlLoadErrorInfo.cs
- TypedTableBaseExtensions.cs
- BaseTemplateBuildProvider.cs
- XPathEmptyIterator.cs
- ConfigurationSettings.cs
- DataContractSerializerOperationBehavior.cs
- externdll.cs
- DropShadowBitmapEffect.cs
- ServiceNameElement.cs
- Quaternion.cs
- ExpressionPrefixAttribute.cs
- PropertyChangingEventArgs.cs
- DataGridPagerStyle.cs
- ControlCommandSet.cs
- DataControlButton.cs
- SystemWebExtensionsSectionGroup.cs
- XmlUrlResolver.cs
- VarRemapper.cs
- UnionCodeGroup.cs
- Trace.cs
- AppSettingsExpressionEditor.cs
- PropertyIDSet.cs
- DataAccessor.cs
- MarshalByValueComponent.cs
- SafeSystemMetrics.cs
- EventMappingSettingsCollection.cs
- AdapterDictionary.cs
- TextWriter.cs
- BamlResourceDeserializer.cs
- DateTimeUtil.cs
- ObjectQueryState.cs
- StylusPointPropertyId.cs
- TransformerInfo.cs
- DashStyle.cs
- DebugControllerThread.cs
- DbConnectionPoolGroup.cs
- SignatureConfirmationElement.cs
- CellNormalizer.cs
- GenericParameterDataContract.cs
- glyphs.cs
- LabelLiteral.cs
- NamespaceList.cs
- _IPv4Address.cs
- XmlUtf8RawTextWriter.cs
- _CommandStream.cs
- VariableElement.cs
- DrawingContextWalker.cs
- SamlAttribute.cs
- Unit.cs
- HandlerBase.cs
- TextElement.cs
- SocketException.cs
- Instrumentation.cs
- CellTreeNode.cs
- InputManager.cs
- AssertSection.cs
- XmlMemberMapping.cs
- DataGridViewCellCancelEventArgs.cs
- HierarchicalDataTemplate.cs
- Ref.cs
- SByteConverter.cs
- ConnectionManagementElementCollection.cs
- CodeBlockBuilder.cs
- WindowsListView.cs
- SmiEventStream.cs
- PathSegment.cs
- ListControl.cs
- ApplicationInterop.cs
- XmlStreamStore.cs
- EntityContainerAssociationSetEnd.cs
- wmiprovider.cs
- ExpressionList.cs
- SettingsPropertyWrongTypeException.cs
- ContextStaticAttribute.cs
- OrderPreservingPipeliningSpoolingTask.cs
- ValueQuery.cs
- AutoGeneratedField.cs
- CharacterString.cs
- ObjectQueryExecutionPlan.cs
- _NestedSingleAsyncResult.cs
- TableItemPattern.cs
- DesignerSerializationVisibilityAttribute.cs
- Random.cs
- DelimitedListTraceListener.cs
- NamespaceEmitter.cs
- RichTextBox.cs
- RunInstallerAttribute.cs
- XPathQilFactory.cs
- PopupEventArgs.cs
- SendingRequestEventArgs.cs
- PopupRoot.cs
- BezierSegment.cs