PipelineClosedException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PipelineClosedException() |
Instantiates a new instance of the PipelineClosedException class. |
PipelineClosedException(String) |
Instantiates a new instance of the PipelineClosedException class. |
PipelineClosedException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the PipelineClosedException class using data serialized via ISerializable |
PipelineClosedException(String, Exception) |
Instantiates a new instance of the PipelineClosedException class. |
PipelineClosedException()
Instantiates a new instance of the PipelineClosedException class.
public:
PipelineClosedException();
public:
PipelineClosedException();
PipelineClosedException();
public PipelineClosedException ();
Public Sub New ()
Applies to
PipelineClosedException(String)
Instantiates a new instance of the PipelineClosedException class.
public:
PipelineClosedException(System::String ^ message);
public:
PipelineClosedException(Platform::String ^ message);
PipelineClosedException(std::wstring const & message);
public PipelineClosedException (string message);
new System.Management.Automation.PipelineClosedException : string -> System.Management.Automation.PipelineClosedException
Public Sub New (message As String)
Parameters
- message
- String
Applies to
PipelineClosedException(SerializationInfo, StreamingContext)
Caution
Legacy serialization support is deprecated since .NET 8
Initializes a new instance of the PipelineClosedException class using data serialized via ISerializable
protected:
PipelineClosedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PipelineClosedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("Legacy serialization support is deprecated since .NET 8", DiagnosticId="SYSLIB0051")]
protected PipelineClosedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Management.Automation.PipelineClosedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Automation.PipelineClosedException
[<System.Obsolete("Legacy serialization support is deprecated since .NET 8", DiagnosticId="SYSLIB0051")>]
new System.Management.Automation.PipelineClosedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Automation.PipelineClosedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
Serialization information.
- context
- StreamingContext
Streaming context.
- Attributes
Applies to
PipelineClosedException(String, Exception)
Instantiates a new instance of the PipelineClosedException class.
public:
PipelineClosedException(System::String ^ message, Exception ^ innerException);
public PipelineClosedException (string message, Exception innerException);
new System.Management.Automation.PipelineClosedException : string * Exception -> System.Management.Automation.PipelineClosedException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
- innerException
- Exception