Partilhar via


JoinableTaskCollection.Contains(JoinableTask) Method

Definition

Checks whether the specified joinable task is a member of this collection.

public:
 bool Contains(Microsoft::VisualStudio::Threading::JoinableTask ^ joinableTask);
public:
 bool Contains(Microsoft::VisualStudio::Threading::JoinableTask ^ joinableTask);
bool Contains(Microsoft::VisualStudio::Threading::JoinableTask const & joinableTask);
public bool Contains (Microsoft.VisualStudio.Threading.JoinableTask joinableTask);
member this.Contains : Microsoft.VisualStudio.Threading.JoinableTask -> bool
Public Function Contains (joinableTask As JoinableTask) As Boolean

Parameters

joinableTask
JoinableTask

Returns

true if the job is s member of this collection, otherwise false.

Applies to