Edit

Share via


WorkflowApplicationCompletedException Constructors

Definition

Creates a new instance of the WorkflowApplicationCompletedException class.

Overloads

WorkflowApplicationCompletedException()

Creates a new instance of the WorkflowApplicationCompletedException class.

WorkflowApplicationCompletedException(String)

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

WorkflowApplicationCompletedException(SerializationInfo, StreamingContext)

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

WorkflowApplicationCompletedException(String, Exception)

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

WorkflowApplicationCompletedException(String, Guid)

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

WorkflowApplicationCompletedException(String, Guid, Exception)

Creates a new instance of the WorkflowApplicationCompletedException 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 completed exception.

WorkflowApplicationCompletedException()

Creates a new instance of the WorkflowApplicationCompletedException class.

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

Applies to

WorkflowApplicationCompletedException(String)

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

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

Parameters

message
String

A description of the application completed exception.

Applies to

WorkflowApplicationCompletedException(SerializationInfo, StreamingContext)

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

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

Parameters

info
SerializationInfo

All the information required to serialize or deserialize the application completed exception object.

context
StreamingContext

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

Applies to

WorkflowApplicationCompletedException(String, Exception)

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

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

Parameters

message
String

A description of the application completed exception.

innerException
Exception

An exception that has a causal relationship to the application completed exception. The application completed 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

WorkflowApplicationCompletedException(String, Guid)

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

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

Parameters

message
String

A description of the application completed exception.

instanceId
Guid

A globally unique identifier.

Applies to

WorkflowApplicationCompletedException(String, Guid, Exception)

Creates a new instance of the WorkflowApplicationCompletedException 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 completed exception.

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

Parameters

message
String

A description of the application completed exception.

instanceId
Guid

A globally unique identifier.

innerException
Exception

An exception that has a causal relationship to the application completed exception. The application completed 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