OnNotifyUnhandledException Method

WorkflowInstance.OnNotifyUnhandledException Method (Exception, Activity, String)

.NET Framework (current version)
 

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 MustOverride Sub OnNotifyUnhandledException (
	exception As Exception,
	source As Activity,
	sourceInstanceId As String
)

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:
© 2016 Microsoft