ActivityManager.Delete Method (String, Boolean)
Deletes the specific workflow activity and optionally terminate dependent workflow instances.
Namespace: Microsoft.Workflow.Client
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Syntax
'Declaration
Public Sub Delete ( _
activityName As String, _
terminateDependentInstances As Boolean _
)
'Usage
Dim instance As ActivityManager
Dim activityName As String
Dim terminateDependentInstances As Boolean
instance.Delete(activityName, terminateDependentInstances)
public void Delete(
string activityName,
bool terminateDependentInstances
)
public:
void Delete(
String^ activityName,
bool terminateDependentInstances
)
member Delete :
activityName:string *
terminateDependentInstances:bool -> unit
public function Delete(
activityName : String,
terminateDependentInstances : boolean
)
Parameters
- activityName
Type: System.String
Name of the activiity to be deleted.
- terminateDependentInstances
Type: System.Boolean
true if all existing instances of any workflow that used a deleted activity should be terminated; false if existing instances of the affected workflows should continue execution.