Editar

Compartilhar via


WorkflowCreationContext.OnAbort Method

Definition

protected public:
 virtual void OnAbort();
protected internal virtual void OnAbort ();
abstract member OnAbort : unit -> unit
override this.OnAbort : unit -> unit
Protected Friend Overridable Sub OnAbort ()

Examples

The following example shows how to implement the OnAbort method.

protected override void OnAbort()
{
    Console.WriteLine("InstanceId :" + InstanceId + " OnBeginWorkflowAborted");
    base.OnAbort();
}

Applies to