CompositeActivityDesigner.RemoveActivities Method

Definition

Removes all activities from the composite activity designer.

Overloads

RemoveActivities(ReadOnlyCollection<Activity>)

Removes a list of activities from the composite activity designer.

RemoveActivities(IServiceProvider, ReadOnlyCollection<Activity>, String)

Removes the list of activities from the designer using a transaction.

Remarks

Use RemoveActivities to remove activities from the composite activity.

RemoveActivities(ReadOnlyCollection<Activity>)

Removes a list of activities from the composite activity designer.

C#
public virtual void RemoveActivities(System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> activitiesToRemove);

Parameters

activitiesToRemove
ReadOnlyCollection<Activity>

A list of activities to remove from the designer.

Remarks

Removes the list of activities from the composite activity.

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

RemoveActivities(IServiceProvider, ReadOnlyCollection<Activity>, String)

Removes the list of activities from the designer using a transaction.

C#
public static void RemoveActivities(IServiceProvider serviceProvider, System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> activitiesToRemove, string transactionDescription);

Parameters

serviceProvider
IServiceProvider

The service provider associated with the designer.

activitiesToRemove
ReadOnlyCollection<Activity>

The list of activities to remove.

transactionDescription
String

The description of the transaction created.

Remarks

Use RemoveActivities to remove the specified list of activities from the composite activity within the specified transaction.

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1