共用方式為


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 > 。

屬性

適用於