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


Type: System.String

A description of the application exception.

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
© 2015 Microsoft