Dela via


FormatTableLoadException Constructors

Definition

Overloads

FormatTableLoadException()

This is the default constructor.

FormatTableLoadException(String)

This constructor takes a localized error message.

FormatTableLoadException(SerializationInfo, StreamingContext)
Obsolete.

This constructor is required by serialization.

FormatTableLoadException(String, Exception)

This constructor takes a localized message and an inner exception.

FormatTableLoadException()

This is the default constructor.

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

Applies to

FormatTableLoadException(String)

This constructor takes a localized error message.

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

Parameters

message
String

A localized error message.

Applies to

FormatTableLoadException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

This constructor is required by serialization.

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

Parameters

Attributes

Applies to

FormatTableLoadException(String, Exception)

This constructor takes a localized message and an inner exception.

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

Parameters

message
String

Localized error message.

innerException
Exception

Inner exception.

Applies to