CKDatabase.SaveSubscriptionAsync(CKSubscription) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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