WorkflowApplicationException Constructor (String^, Exception^)

.NET Framework (current version)
 

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
Available since 4.0
Return to top
Show: