WebAccountManager.SetScopeAsync(WebAccount, WebAccountScope) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
异步设置 Web 帐户的范围。
public:
static IAsyncAction ^ SetScopeAsync(WebAccount ^ webAccount, WebAccountScope scope);
static IAsyncAction SetScopeAsync(WebAccount const& webAccount, WebAccountScope const& scope);
public static IAsyncAction SetScopeAsync(WebAccount webAccount, WebAccountScope scope);
function setScopeAsync(webAccount, scope)
Public Shared Function SetScopeAsync (webAccount As WebAccount, scope As WebAccountScope) As IAsyncAction
参数
- webAccount
- WebAccount
要为其设置范围的 Web 帐户。
- scope
- WebAccountScope
要设置的范围。
返回
此方法不返回值。