ExtendedTypeSystemException Constructors

Definition

Overloads

ExtendedTypeSystemException()

Initializes a new instance of ExtendedTypeSystemException with the message set to typeof(ExtendedTypeSystemException).FullName.

ExtendedTypeSystemException(String)

Initializes a new instance of ExtendedTypeSystemException setting the message.

ExtendedTypeSystemException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of ExtendedTypeSystemException with serialization parameters.

ExtendedTypeSystemException(String, Exception)

Initializes a new instance of ExtendedTypeSystemException setting the message and innerException.

ExtendedTypeSystemException()

Initializes a new instance of ExtendedTypeSystemException with the message set to typeof(ExtendedTypeSystemException).FullName.

public:
 ExtendedTypeSystemException();
public:
 ExtendedTypeSystemException();
 ExtendedTypeSystemException();
public ExtendedTypeSystemException ();
Public Sub New ()

Applies to

ExtendedTypeSystemException(String)

Initializes a new instance of ExtendedTypeSystemException setting the message.

public:
 ExtendedTypeSystemException(System::String ^ message);
public:
 ExtendedTypeSystemException(Platform::String ^ message);
 ExtendedTypeSystemException(std::wstring const & message);
public ExtendedTypeSystemException (string message);
new System.Management.Automation.ExtendedTypeSystemException : string -> System.Management.Automation.ExtendedTypeSystemException
Public Sub New (message As String)

Parameters

message
String

The exception's message.

Applies to

ExtendedTypeSystemException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

Initializes a new instance of ExtendedTypeSystemException with serialization parameters.

protected:
 ExtendedTypeSystemException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ExtendedTypeSystemException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("Legacy serialization support is deprecated since .NET 8", DiagnosticId="SYSLIB0051")]
protected ExtendedTypeSystemException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Management.Automation.ExtendedTypeSystemException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Automation.ExtendedTypeSystemException
[<System.Obsolete("Legacy serialization support is deprecated since .NET 8", DiagnosticId="SYSLIB0051")>]
new System.Management.Automation.ExtendedTypeSystemException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Automation.ExtendedTypeSystemException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Serialization information.

context
StreamingContext

Streaming context.

Attributes

Applies to

ExtendedTypeSystemException(String, Exception)

Initializes a new instance of ExtendedTypeSystemException setting the message and innerException.

public:
 ExtendedTypeSystemException(System::String ^ message, Exception ^ innerException);
public ExtendedTypeSystemException (string message, Exception innerException);
new System.Management.Automation.ExtendedTypeSystemException : string * Exception -> System.Management.Automation.ExtendedTypeSystemException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The exception's message.

innerException
Exception

The exception's inner exception.

Applies to