Partilhar via


InvalidPipelineStateException Constructors

Definition

Overloads

InvalidPipelineStateException()

Initializes a new instance of the InvalidPipelineStateException class.

InvalidPipelineStateException(String)

Initializes a new instance of the InvalidPipelineStateException class with a specified error message.

InvalidPipelineStateException(String, Exception)

Initializes a new instance of the InvalidPipelineStateException class with a specified error message and a reference to the inner exception that is the cause of this exception.

InvalidPipelineStateException()

Initializes a new instance of the InvalidPipelineStateException class.

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

Applies to

InvalidPipelineStateException(String)

Initializes a new instance of the InvalidPipelineStateException class with a specified error message.

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

InvalidPipelineStateException(String, Exception)

Initializes a new instance of the InvalidPipelineStateException class with a specified error message and a reference to the inner exception that is the cause of this exception.

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

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that is the cause of the current exception.

Applies to