共用方式為


JoinableTaskCollection.Remove(JoinableTask) Method

Definition

Removes the specified JoinableTask from this collection, or decrements the ref count if this collection tracks that.

public:
 void Remove(Microsoft::VisualStudio::Threading::JoinableTask ^ joinableTask);
public:
 void Remove(Microsoft::VisualStudio::Threading::JoinableTask ^ joinableTask);
void Remove(Microsoft::VisualStudio::Threading::JoinableTask const & joinableTask);
public void Remove (Microsoft.VisualStudio.Threading.JoinableTask joinableTask);
member this.Remove : Microsoft.VisualStudio.Threading.JoinableTask -> unit
Public Sub Remove (joinableTask As JoinableTask)

Parameters

joinableTask
JoinableTask

The JoinableTask to remove.

Remarks

Completed JoinableTask instances are automatically removed from the collection. Calling this method to remove them is not necessary.

Applies to