Share via


INImage.FetchImageAsync 方法

定义

将图像传递给提供的 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>

返回

表示异步 FetchImage 操作的任务。 TResult 参数的值的类型为 System.Action<UIKit.UIImage>。

属性

注解

FetchImageAsync 方法适合用于 C# 异步,方法是将控件返回到具有表示操作的 Task 的调用方。

内容待定。

适用于