次の方法で共有


GameService.GetPrivilegesAsync メソッド

定義

現在のユーザーの特権文字列を取得します。

public:
 static IAsyncOperation<Platform::String ^> ^ GetPrivilegesAsync();
 static IAsyncOperation<winrt::hstring> GetPrivilegesAsync();
public static IAsyncOperation<string> GetPrivilegesAsync();
function getPrivilegesAsync()
Public Shared Function GetPrivilegesAsync () As IAsyncOperation(Of String)

戻り値

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

このメソッドが完了すると、特権文字列が返されます。

注釈

Windows.Phone.System.UserProfile.GameServices.Core 名前空間のすべてのメンバーは、XBox Live SDKでのみ使用できます。 これらの API は、ID_CAP_GAMERSERVICES機能を持つアプリケーション以外では呼び出すことができません。

適用対象