WorkflowApplicationException Constructor (String, Guid, Exception)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Namespace:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

public WorkflowApplicationException(
	string message,
	Guid instanceId,
	Exception innerException
)

Parameters

message
Type: System.String

A description of the application exception.

instanceId
Type: System.Guid

A globally unique identifier.

innerException
Type: System.Exception

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

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.

.NET Framework
Available since 4.0
Return to top
Show: