Edit

Share via


CKDatabase.SaveSubscriptionAsync(CKSubscription) Method

Definition

Saves the specified subscription to the current database.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<CloudKit.CKSubscription> SaveSubscriptionAsync (CloudKit.CKSubscription subscription);
abstract member SaveSubscriptionAsync : CloudKit.CKSubscription -> System.Threading.Tasks.Task<CloudKit.CKSubscription>
override this.SaveSubscriptionAsync : CloudKit.CKSubscription -> System.Threading.Tasks.Task<CloudKit.CKSubscription>

Parameters

subscription
CKSubscription

Returns

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

Attributes

Applies to