CKContainer.DiscoverAllContactUserInfosAsync 方法

定义

开发人员不应使用此已弃用的方法。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DiscoverAllIdentities' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.None, "Use 'DiscoverAllIdentities' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<CloudKit.CKDiscoveredUserInfo[]> DiscoverAllContactUserInfosAsync ();
abstract member DiscoverAllContactUserInfosAsync : unit -> System.Threading.Tasks.Task<CloudKit.CKDiscoveredUserInfo[]>
override this.DiscoverAllContactUserInfosAsync : unit -> System.Threading.Tasks.Task<CloudKit.CKDiscoveredUserInfo[]>

返回

表示异步 DiscoverAllContactUserInfos 操作的任务。 TResult 参数的值的类型为 System.Action<CloudKit.CKDiscoveredUserInfo[],Foundation.NSError>。

属性

适用于