CKContainer.DiscoverUserInfoAsync 方法

定义

重载

DiscoverUserInfoAsync(CKRecordID)

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

DiscoverUserInfoAsync(String)

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

DiscoverUserInfoAsync(CKRecordID)

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

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DiscoverUserIdentity' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.None, "Use 'DiscoverUserIdentity' 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)]
public virtual System.Threading.Tasks.Task<CloudKit.CKDiscoveredUserInfo> DiscoverUserInfoAsync (CloudKit.CKRecordID userRecordId);
abstract member DiscoverUserInfoAsync : CloudKit.CKRecordID -> System.Threading.Tasks.Task<CloudKit.CKDiscoveredUserInfo>
override this.DiscoverUserInfoAsync : CloudKit.CKRecordID -> System.Threading.Tasks.Task<CloudKit.CKDiscoveredUserInfo>

参数

userRecordId
CKRecordID

返回

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

属性

适用于

DiscoverUserInfoAsync(String)

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

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DiscoverUserIdentityWithEmailAddress' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.None, "Use 'DiscoverUserIdentityWithEmailAddress' 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)]
public virtual System.Threading.Tasks.Task<CloudKit.CKDiscoveredUserInfo> DiscoverUserInfoAsync (string email);
abstract member DiscoverUserInfoAsync : string -> System.Threading.Tasks.Task<CloudKit.CKDiscoveredUserInfo>
override this.DiscoverUserInfoAsync : string -> System.Threading.Tasks.Task<CloudKit.CKDiscoveredUserInfo>

参数

email
String

返回

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

属性

适用于