IVsTaskCompletionSource.SetResult(Object) 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.
Sets the task owned by this source to completed state with the result.
public:
void SetResult(System::Object ^ result);
public:
void SetResult(Platform::Object ^ result);
void SetResult(winrt::Windows::Foundation::IInspectable const & result);
public void SetResult (object result);
abstract member SetResult : obj -> unit
Public Sub SetResult (result As Object)
Parameters
- result
- Object
The result to be set.
Remarks
This method is safe to access from any thread.