Edytuj

Udostępnij za pośrednictwem


CKDatabase.DeleteSubscriptionAsync(String) Method

Definition

Deletes the CKSubscription with the specified subscriptionID.

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

Parameters

subscriptionID
String

Returns

A task that represents the asynchronous DeleteSubscription operation. The value of the TResult parameter is a CloudKit.CKDatabaseDeleteSubscriptionHandler.

Attributes

Remarks

The DeleteSubscriptionAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to