WorkflowApplicationException Constructor (String, Exception)

.NET Framework (current version)

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

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 Sub New (
	message As String,
	innerException As Exception


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