Compartilhar via


Extensions.Synchronize Método

Definição

Sobrecargas

Synchronize(Func<Task>)
Synchronize<TResult>(Func<Task<TResult>>)

Synchronize(Func<Task>)

public static void Synchronize (Func<System.Threading.Tasks.Task> function);
static member Synchronize : Func<System.Threading.Tasks.Task> -> unit
Public Sub Synchronize (function As Func(Of Task))

Parâmetros

function
Func<Task>

Aplica-se a

Synchronize<TResult>(Func<Task<TResult>>)

public static TResult Synchronize<TResult> (Func<System.Threading.Tasks.Task<TResult>> function);
static member Synchronize : Func<System.Threading.Tasks.Task<'Result>> -> 'Result
Public Function Synchronize(Of TResult) (function As Func(Of Task(Of TResult))) As TResult

Parâmetros de tipo

TResult

Parâmetros

function
Func<Task<TResult>>

Retornos

TResult

Aplica-se a