Share via


PipelineDepthException Constructors

Definition

Overloads

PipelineDepthException()

Instantiates a new instance of the PipelineDepthException class.

PipelineDepthException(String)

Instantiates a new instance of the PipelineDepthException class.

PipelineDepthException(SerializationInfo, StreamingContext)
Obsolete.

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

PipelineDepthException(String, Exception)

Instantiates a new instance of the PipelineDepthException class.

PipelineDepthException()

Instantiates a new instance of the PipelineDepthException class.

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

Applies to

PipelineDepthException(String)

Instantiates a new instance of the PipelineDepthException class.

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

Parameters

message
String

Applies to

PipelineDepthException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

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

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

Parameters

info
SerializationInfo

Serialization information.

context
StreamingContext

Streaming context.

Attributes

Applies to

PipelineDepthException(String, Exception)

Instantiates a new instance of the PipelineDepthException class.

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

Parameters

message
String
innerException
Exception

Applies to