Partager via


PipelineStoppedException Constructors

Definition

Overloads

PipelineStoppedException()

Instantiates a new instance of the PipelineStoppedException class.

PipelineStoppedException(String)

Instantiates a new instance of the PipelineStoppedException class.

PipelineStoppedException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the PipelineStoppedException class using data serialized via ISerializable

PipelineStoppedException(String, Exception)

Instantiates a new instance of the PipelineStoppedException class.

PipelineStoppedException()

Instantiates a new instance of the PipelineStoppedException class.

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

Applies to

PipelineStoppedException(String)

Instantiates a new instance of the PipelineStoppedException class.

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

Parameters

message
String

Applies to

PipelineStoppedException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

Initializes a new instance of the PipelineStoppedException class using data serialized via ISerializable

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

Parameters

info
SerializationInfo

Serialization information.

context
StreamingContext

Streaming context.

Attributes

Applies to

PipelineStoppedException(String, Exception)

Instantiates a new instance of the PipelineStoppedException class.

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

Parameters

message
String
innerException
Exception

Applies to