WorkflowInstance.OnNotifyUnhandledException Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour