WorkflowApplicationException WorkflowApplicationException WorkflowApplicationException WorkflowApplicationException Constructors

Definition

Overloads

WorkflowApplicationException() WorkflowApplicationException() WorkflowApplicationException()

Creates a new instance of the WorkflowApplicationException class.

WorkflowApplicationException(String) WorkflowApplicationException(String) WorkflowApplicationException(String) WorkflowApplicationException(String)

Creates a new instance of the WorkflowApplicationException class with a text string description of the exception.

WorkflowApplicationException(SerializationInfo, StreamingContext) WorkflowApplicationException(SerializationInfo, StreamingContext) WorkflowApplicationException(SerializationInfo, StreamingContext) WorkflowApplicationException(SerializationInfo, StreamingContext)

Creates a new instance of the WorkflowApplicationException class with the context and serialization information required to retrieve data about this exception from a serialized stream.

WorkflowApplicationException(String, Exception) WorkflowApplicationException(String, Exception) WorkflowApplicationException(String, Exception) WorkflowApplicationException(String, Exception)

Creates a new instance of the WorkflowApplicationException class with a text string description of the exception and with an additional exception that is the cause of the application exception.

WorkflowApplicationException(String, Guid) WorkflowApplicationException(String, Guid) WorkflowApplicationException(String, Guid) WorkflowApplicationException(String, Guid)

Creates a new instance of the WorkflowApplicationException class with a text string description of the exception and with a unique identifier for it.

WorkflowApplicationException(String, Guid, Exception) WorkflowApplicationException(String, Guid, Exception) WorkflowApplicationException(String, Guid, Exception) WorkflowApplicationException(String, Guid, Exception)

Creates a new instance of the WorkflowApplicationException class with a text string description of the exception, a unique identifier for it, and an additional exception that is the cause of the application exception.

WorkflowApplicationException() WorkflowApplicationException() WorkflowApplicationException()

Creates a new instance of the WorkflowApplicationException class.

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

WorkflowApplicationException(String) WorkflowApplicationException(String) WorkflowApplicationException(String) WorkflowApplicationException(String)

Creates a new instance of the WorkflowApplicationException class with a text string description of the exception.

public:
 WorkflowApplicationException(System::String ^ message);
public WorkflowApplicationException (string message);
new System.Activities.WorkflowApplicationException : string -> System.Activities.WorkflowApplicationException
Public Sub New (message As String)

Parameters

message
String String String String

A description of the application exception.

WorkflowApplicationException(SerializationInfo, StreamingContext) WorkflowApplicationException(SerializationInfo, StreamingContext) WorkflowApplicationException(SerializationInfo, StreamingContext) WorkflowApplicationException(SerializationInfo, StreamingContext)

Creates a new instance of the WorkflowApplicationException class with the context and serialization information required to retrieve data about this exception from a serialized stream.

protected:
 WorkflowApplicationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected WorkflowApplicationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Activities.WorkflowApplicationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Activities.WorkflowApplicationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

The information required to serialize or deserialize the application exception object.

context
StreamingContext StreamingContext StreamingContext StreamingContext

The source and destination of a given serialized stream, and an additional caller-defined context.

WorkflowApplicationException(String, Exception) WorkflowApplicationException(String, Exception) WorkflowApplicationException(String, Exception) WorkflowApplicationException(String, Exception)

Creates a new instance of the WorkflowApplicationException class with a text string description of the exception and with an additional exception that is the cause of the application exception.

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

Parameters

message
String String String String

A description of the application exception.

innerException
Exception Exception Exception Exception

An exception that has a causal relationship to the application exception.

Remarks

The application exception is thrown in response to the inner exception and can use information from the inner exception to handle the error more appropriately.

WorkflowApplicationException(String, Guid) WorkflowApplicationException(String, Guid) WorkflowApplicationException(String, Guid) WorkflowApplicationException(String, Guid)

Creates a new instance of the WorkflowApplicationException class with a text string description of the exception and with a unique identifier for it.

public:
 WorkflowApplicationException(System::String ^ message, Guid instanceId);
public WorkflowApplicationException (string message, Guid instanceId);
new System.Activities.WorkflowApplicationException : string * Guid -> System.Activities.WorkflowApplicationException
Public Sub New (message As String, instanceId As Guid)

Parameters

message
String String String String

A description of the application exception.

instanceId
Guid Guid Guid Guid

A globally unique identifier.

WorkflowApplicationException(String, Guid, Exception) WorkflowApplicationException(String, Guid, Exception) WorkflowApplicationException(String, Guid, Exception) WorkflowApplicationException(String, Guid, Exception)

Creates a new instance of the WorkflowApplicationException class with a text string description of the exception, a unique identifier for it, and an additional exception that is the cause of the application exception.

public:
 WorkflowApplicationException(System::String ^ message, Guid instanceId, Exception ^ innerException);
public WorkflowApplicationException (string message, Guid instanceId, Exception innerException);
new System.Activities.WorkflowApplicationException : string * Guid * Exception -> System.Activities.WorkflowApplicationException
Public Sub New (message As String, instanceId As Guid, innerException As Exception)

Parameters

message
String String String String

A description of the application exception.

instanceId
Guid Guid Guid Guid

A globally unique identifier.

innerException
Exception Exception Exception Exception

An exception that has a causal relationship to the application exception.

Remarks

The application exception is thrown in response to the inner exception and can use information from the inner exception to handle the error more appropriately.

Applies to