次の方法で共有


IVsTaskSchedulerService.CreateTaskCompletionSource Method

Definition

Creates a task completion source instance that can be used to start a task, or can cancel or append continuations.

public:
 Microsoft::VisualStudio::Shell::Interop::IVsTaskCompletionSource ^ CreateTaskCompletionSource();
public:
 Microsoft::VisualStudio::Shell::Interop::IVsTaskCompletionSource ^ CreateTaskCompletionSource();
Microsoft::VisualStudio::Shell::Interop::IVsTaskCompletionSource CreateTaskCompletionSource();
public Microsoft.VisualStudio.Shell.Interop.IVsTaskCompletionSource CreateTaskCompletionSource ();
abstract member CreateTaskCompletionSource : unit -> Microsoft.VisualStudio.Shell.Interop.IVsTaskCompletionSource
Public Function CreateTaskCompletionSource () As IVsTaskCompletionSource

Returns

The task completion source instance.

Remarks

This method is safe to access from any thread.

Applies to