Modifica

Condividi tramite


CKContainer.AcceptShareMetadataAsync(CKShareMetadata) Method

Definition

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual System.Threading.Tasks.Task<CloudKit.CKShare> AcceptShareMetadataAsync (CloudKit.CKShareMetadata metadata);
abstract member AcceptShareMetadataAsync : CloudKit.CKShareMetadata -> System.Threading.Tasks.Task<CloudKit.CKShare>
override this.AcceptShareMetadataAsync : CloudKit.CKShareMetadata -> System.Threading.Tasks.Task<CloudKit.CKShare>

Parameters

metadata
CKShareMetadata

Returns

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

Attributes

Remarks

The AcceptShareMetadataAsync 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