Bewerken

Delen via


WorkflowApplicationTerminatedException Constructors

Definition

Creates a new instance of the WorkflowApplicationTerminatedException class.

Overloads

WorkflowApplicationTerminatedException()

Creates a new instance of the WorkflowApplicationTerminatedException class.

WorkflowApplicationTerminatedException(String)

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

WorkflowApplicationTerminatedException(SerializationInfo, StreamingContext)

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

WorkflowApplicationTerminatedException(String, Exception)

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

WorkflowApplicationTerminatedException(String, Guid)

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

WorkflowApplicationTerminatedException(String, Guid, Exception)

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

WorkflowApplicationTerminatedException()

Creates a new instance of the WorkflowApplicationTerminatedException class.

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

Applies to

WorkflowApplicationTerminatedException(String)

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

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

Parameters

message
String

A description of the application terminated exception.

Applies to

WorkflowApplicationTerminatedException(SerializationInfo, StreamingContext)

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

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

Parameters

info
SerializationInfo

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

context
StreamingContext

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

Applies to

WorkflowApplicationTerminatedException(String, Exception)

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

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

Parameters

message
String

A description of the application terminated exception.

innerException
Exception

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

WorkflowApplicationTerminatedException(String, Guid)

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

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

Parameters

message
String

A description of the application terminated exception.

instanceId
Guid

A globally unique identifier.

Applies to

WorkflowApplicationTerminatedException(String, Guid, Exception)

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

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

Parameters

message
String

A description of the application terminated exception.

instanceId
Guid

A globally unique identifier.

innerException
Exception

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