Condividi tramite


SLRequest.PerformRequestAsync Metodo

Definizione

Effettua la richiesta e chiama l'oggetto fornito handler al termine della richiesta.

public virtual System.Threading.Tasks.Task<Social.SLRequestResult> PerformRequestAsync ();
abstract member PerformRequestAsync : unit -> System.Threading.Tasks.Task<Social.SLRequestResult>
override this.PerformRequestAsync : unit -> System.Threading.Tasks.Task<Social.SLRequestResult>

Restituisce

Attività che rappresenta l'operazione PerformRequest asincrona. Il valore del parametro TResult è di tipo System.Action<Foundation.NSData,Foundation.NSHttpUrlResponse,Foundation.NSError>.

Commenti

Il metodo PerformRequestAsync è adatto per essere usato con C# asincrono restituendo il controllo al chiamante con un'attività che rappresenta l'operazione.

Da aggiungere.

Si applica a