IVsTaskSchedulerService::CreateTaskCompletionSourceEx Method (UInt32, Object^)

 

Creates a task completion source instance with the specified options.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

IVsTaskCompletionSource^ CreateTaskCompletionSourceEx(
	unsigned int options,
	Object^ AsyncState
)

Parameters

options
Type: System::UInt32

[in] Task creation options for the task controlled by the completion source.

AsyncState
Type: System::Object^

[in] Asynchronous state that will be stored by the task controlled by the completion source.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop::IVsTaskCompletionSource^

The task completion source instance.

Return to top
Show: