Share via


CKDatabase.FetchSubscriptionAsync(String) Method

Definition

Fetches the CKSubscription with the specified subscriptionId.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<CloudKit.CKSubscription> FetchSubscriptionAsync(string subscriptionId);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member FetchSubscriptionAsync : string -> System.Threading.Tasks.Task<CloudKit.CKSubscription>
override this.FetchSubscriptionAsync : string -> System.Threading.Tasks.Task<CloudKit.CKSubscription>

Parameters

subscriptionId
String

Returns

A task that represents the asynchronous FetchSubscription operation. The value of the TResult parameter is of type System.Action<CloudKit.CKSubscription,Foundation.NSError>.

Attributes

Applies to