WorkflowInstance::OnNotifyUnhandledException Method (Exception^, Activity^, String^)

.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.

Called by the workflow runtime to notify the host an unhandled exception has occurred in the workflow instance.

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

protected:
virtual void OnNotifyUnhandledException(
	Exception^ exception,
	Activity^ source,
	String^ sourceInstanceId
) abstract

Parameters

exception
Type: System::Exception^

The unhandled exception.

source
Type: System.Activities::Activity^

The activity that threw the exception.

sourceInstanceId
Type: System::String^

The unique identifier of the ActivityInstance representing the activity that threw the exception.

.NET Framework
Available since 4.0
Return to top
Show: