Düzenle

Aracılığıyla paylaş


SKCloudServiceSetupViewController.LoadAsync Method

Definition

Overloads

LoadAsync(NSDictionary)

Loads a setup view with the specified options and runs a handler when the view is loaded.

LoadAsync(SKCloudServiceSetupOptions)

Asynchronously loads a setup view with the specified options, returning a task that indicates success or failure and includes an error, if one occurred.

LoadAsync(NSDictionary)

Loads a setup view with the specified options and runs a handler when the view is loaded.

public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> LoadAsync (Foundation.NSDictionary options);
abstract member LoadAsync : Foundation.NSDictionary -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.LoadAsync : Foundation.NSDictionary -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parameters

options
NSDictionary

A dictionary of setup options.

Returns

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

Remarks

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

LoadAsync(SKCloudServiceSetupOptions)

Asynchronously loads a setup view with the specified options, returning a task that indicates success or failure and includes an error, if one occurred.

public System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> LoadAsync (StoreKit.SKCloudServiceSetupOptions options);
member this.LoadAsync : StoreKit.SKCloudServiceSetupOptions -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parameters

options
SKCloudServiceSetupOptions

Setup options object.

Returns

Applies to