IVsTaskSchedulerService.CreateTaskCompletionSource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.