Condividi tramite


INImage.FetchImageAsync Metodo

Definizione

Passa l'immagine al gestore fornito completion .

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<UIKit.UIImage> FetchImageAsync ();
abstract member FetchImageAsync : unit -> System.Threading.Tasks.Task<UIKit.UIImage>
override this.FetchImageAsync : unit -> System.Threading.Tasks.Task<UIKit.UIImage>

Restituisce

Attività che rappresenta l'operazione FetchImage asincrona. Il valore del parametro TResult è di tipo System.Action<UIKit.UIImage>.

Attributi

Commenti

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

Da aggiungere.

Si applica a