Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WorkflowApplicationException Constructor (String, Exception)

WorkflowApplicationException Constructor (String, Exception)

.NET Framework 4.6 and 4.5

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.

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

public WorkflowApplicationException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

A description of the application exception.

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft