WorkflowReturnException Constructors

Definition

Overloads

WorkflowReturnException()

Generic constructor

WorkflowReturnException(String)

Initializes a new WorkflowReturnException instance with a given message string.

WorkflowReturnException(SerializationInfo, StreamingContext)

Initializes a new WorkflowReturnException with serialization info and streaming context

WorkflowReturnException(String, Exception)

Initializes a new WorkflowReturnException instance with a message and inner exception.

WorkflowReturnException()

Generic constructor

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

Applies to

WorkflowReturnException(String)

Initializes a new WorkflowReturnException instance with a given message string.

public:
 WorkflowReturnException(System::String ^ message);
public:
 WorkflowReturnException(Platform::String ^ message);
 WorkflowReturnException(std::wstring const & message);
public WorkflowReturnException (string message);
new Microsoft.PowerShell.Workflow.WorkflowReturnException : string -> Microsoft.PowerShell.Workflow.WorkflowReturnException
Public Sub New (message As String)

Parameters

message
String

Exception message

Applies to

WorkflowReturnException(SerializationInfo, StreamingContext)

Initializes a new WorkflowReturnException with serialization info and streaming context

protected:
 WorkflowReturnException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected WorkflowReturnException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.PowerShell.Workflow.WorkflowReturnException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.PowerShell.Workflow.WorkflowReturnException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Serialization Info

context
StreamingContext

Streaming context

Applies to

WorkflowReturnException(String, Exception)

Initializes a new WorkflowReturnException instance with a message and inner exception.

public:
 WorkflowReturnException(System::String ^ message, Exception ^ innerException);
public WorkflowReturnException (string message, Exception innerException);
new Microsoft.PowerShell.Workflow.WorkflowReturnException : string * Exception -> Microsoft.PowerShell.Workflow.WorkflowReturnException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

Exception message

innerException
Exception

Inner Exception

Applies to