Compartilhar via


TypeTableLoadException Constructors

Definition

Overloads

TypeTableLoadException()

This is the default constructor.

TypeTableLoadException(String)

This constructor takes a localized error message.

TypeTableLoadException(SerializationInfo, StreamingContext)
Obsolete.

This constructor is required by serialization.

TypeTableLoadException(String, Exception)

This constructor takes a localized message and an inner exception.

TypeTableLoadException()

This is the default constructor.

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

Applies to

TypeTableLoadException(String)

This constructor takes a localized error message.

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

Parameters

message
String

A localized error message.

Applies to

TypeTableLoadException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

This constructor is required by serialization.

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

Parameters

Attributes

Applies to

TypeTableLoadException(String, Exception)

This constructor takes a localized message and an inner exception.

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

Parameters

message
String

Localized error message.

innerException
Exception

Inner exception.

Applies to