Rediger

Del via


WorkflowInstance.OnNotifyUnhandledException Method

Definition

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

protected:
 abstract void OnNotifyUnhandledException(Exception ^ exception, System::Activities::Activity ^ source, System::String ^ sourceInstanceId);
protected abstract void OnNotifyUnhandledException (Exception exception, System.Activities.Activity source, string sourceInstanceId);
abstract member OnNotifyUnhandledException : Exception * System.Activities.Activity * string -> unit
Protected MustOverride Sub OnNotifyUnhandledException (exception As Exception, source As Activity, sourceInstanceId As String)

Parameters

exception
Exception

The unhandled exception.

source
Activity

The activity that threw the exception.

sourceInstanceId
String

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

Applies to