Partilhar via


PSConsoleLoadException Constructors

Definition

Overloads

PSConsoleLoadException()

Initiate an instance of PSConsoleLoadException.

PSConsoleLoadException(String)

Initiate an instance of PSConsoleLoadException.

PSConsoleLoadException(SerializationInfo, StreamingContext)

Initiate a PSConsoleLoadException instance.

PSConsoleLoadException(String, Exception)

Initiate an instance of PSConsoleLoadException.

PSConsoleLoadException()

Initiate an instance of PSConsoleLoadException.

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

Applies to

PSConsoleLoadException(String)

Initiate an instance of PSConsoleLoadException.

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

Parameters

message
String

Error message.

Applies to

PSConsoleLoadException(SerializationInfo, StreamingContext)

Initiate a PSConsoleLoadException instance.

protected:
 PSConsoleLoadException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PSConsoleLoadException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Management.Automation.Runspaces.PSConsoleLoadException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Automation.Runspaces.PSConsoleLoadException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Serialization information

context
StreamingContext

Streaming context

Applies to

PSConsoleLoadException(String, Exception)

Initiate an instance of PSConsoleLoadException.

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

Parameters

message
String

Error message.

innerException
Exception

Inner exception.

Applies to