共用方式為


ObservableTask<TResult>.FromResult(TResult) Method

Definition

public:
 static Microsoft::VisualStudio::Imaging::ObservableTask<TResult> ^ FromResult(TResult result);
public static Microsoft.VisualStudio.Imaging.ObservableTask<TResult> FromResult (TResult result);
static member FromResult : 'Result -> Microsoft.VisualStudio.Imaging.ObservableTask<'Result>
Public Shared Function FromResult (result As TResult) As ObservableTask(Of TResult)

Parameters

result
TResult

Returns

Applies to