WorkflowUpdateableControlClient.Terminate 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.
Terminates the specified workflow instance.
Overloads
Terminate(Guid) |
Terminates the specified workflow instance. |
Terminate(Guid, String) |
Terminates the specified workflow instance. |
Terminate(Guid)
Terminates the specified workflow instance.
public:
void Terminate(Guid instanceId);
public void Terminate (Guid instanceId);
member this.Terminate : Guid -> unit
Public Sub Terminate (instanceId As Guid)
Parameters
- instanceId
- Guid
The workflow instance to terminate.
Applies to
Terminate(Guid, String)
Terminates the specified workflow instance.
public:
void Terminate(Guid instanceId, System::String ^ reason);
public void Terminate (Guid instanceId, string reason);
member this.Terminate : Guid * string -> unit
Public Sub Terminate (instanceId As Guid, reason As String)
Parameters
- instanceId
- Guid
The workflow instance to terminate.
- reason
- String
The reason to terminate the workflow instance.