IVsTaskCompletionSource.SetResult(Object) Method

Definition

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.

Applies to