Dela via


ActionPreferenceStopException Constructors

Definition

Overloads

ActionPreferenceStopException()

Instantiates a new instance of the ActionPreferenceStopException class.

ActionPreferenceStopException(String)

Instantiates a new instance of the ActionPreferenceStopException class.

ActionPreferenceStopException(SerializationInfo, StreamingContext)
Obsolete.

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

ActionPreferenceStopException(String, Exception)

Instantiates a new instance of the ActionPreferenceStopException class.

ActionPreferenceStopException()

Instantiates a new instance of the ActionPreferenceStopException class.

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

Applies to

ActionPreferenceStopException(String)

Instantiates a new instance of the ActionPreferenceStopException class.

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

Parameters

message
String

Applies to

ActionPreferenceStopException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

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

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

Parameters

info
SerializationInfo

Serialization information.

context
StreamingContext

Streaming context.

Attributes

Applies to

ActionPreferenceStopException(String, Exception)

Instantiates a new instance of the ActionPreferenceStopException class.

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

Parameters

message
String
innerException
Exception

Applies to