Edit

Share via


WorkflowApplicationAbortedException Constructors

Definition

Creates a new instance of the WorkflowApplicationAbortedException class.

Overloads

WorkflowApplicationAbortedException()

Creates a new instance of the WorkflowApplicationAbortedException class.

WorkflowApplicationAbortedException(String)

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

WorkflowApplicationAbortedException(SerializationInfo, StreamingContext)

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

WorkflowApplicationAbortedException(String, Exception)

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

WorkflowApplicationAbortedException(String, Guid)

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

WorkflowApplicationAbortedException(String, Guid, Exception)

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

WorkflowApplicationAbortedException()

Creates a new instance of the WorkflowApplicationAbortedException class.

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

Applies to

WorkflowApplicationAbortedException(String)

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

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

Parameters

message
String

A description of the abort exception.

Applies to

WorkflowApplicationAbortedException(SerializationInfo, StreamingContext)

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

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

Parameters

info
SerializationInfo

All the information required to serialize or deserialize the abort exception object.

context
StreamingContext

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

Applies to

WorkflowApplicationAbortedException(String, Exception)

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

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

Parameters

message
String

A description of the abort exception.

innerException
Exception

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

WorkflowApplicationAbortedException(String, Guid)

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

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

Parameters

message
String

A description of the abort exception.

instanceId
Guid

A globally unique identifier.

Applies to

WorkflowApplicationAbortedException(String, Guid, Exception)

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

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

Parameters

message
String

A description of the abort exception.

instanceId
Guid

A globally unique identifier.

innerException
Exception

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