ActivityExecutionContext.CloseActivity Method

Definition

Indicates to the workflow runtime that the currently executing activity should transition to the Closed state.

public:
 void CloseActivity();
public void CloseActivity ();
member this.CloseActivity : unit -> unit
Public Sub CloseActivity ()

Exceptions

The status of the associated Activity is not equal to Executing or Canceling or Compensating or Closed.

Applies to