SKCloudServiceController.RequestStorefrontCountryCodeAsync 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.
Requests the country code for the user's iTunes account and passes the code and an error, if present, to the provided handler.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Foundation.NSString> RequestStorefrontCountryCodeAsync ();
abstract member RequestStorefrontCountryCodeAsync : unit -> System.Threading.Tasks.Task<Foundation.NSString>
override this.RequestStorefrontCountryCodeAsync : unit -> System.Threading.Tasks.Task<Foundation.NSString>
Returns
A task that represents the asynchronous RequestStorefrontCountryCode operation. The value of the TResult parameter is of type System.Action<Foundation.NSString,Foundation.NSError>.
- Attributes