Partilhar via


WebAccountManager.AddWebAccountAsync Método

Definição

Sobrecargas

AddWebAccountAsync(String, String, IMapView<String,String>)

Adiciona uma nova conta Web de forma assíncrona com três entradas.

AddWebAccountAsync(String, String, IMapView<String,String>, WebAccountScope)

Adiciona uma nova conta Web de forma assíncrona com quatro entradas.

AddWebAccountAsync(String, String, IMapView<String,String>, WebAccountScope, String)

Adiciona uma nova conta Web de forma assíncrona com cinco entradas.

AddWebAccountAsync(String, String, IMapView<String,String>)

Adiciona uma nova conta Web de forma assíncrona com três entradas.

public:
 static IAsyncOperation<WebAccount ^> ^ AddWebAccountAsync(Platform::String ^ webAccountId, Platform::String ^ webAccountUserName, IMapView<Platform::String ^, Platform::String ^> ^ props);
/// [Windows.Foundation.Metadata.Overload("AddWebAccountAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<WebAccount> AddWebAccountAsync(winrt::hstring const& webAccountId, winrt::hstring const& webAccountUserName, IMapView<winrt::hstring, winrt::hstring const&> const& props);
[Windows.Foundation.Metadata.Overload("AddWebAccountAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<WebAccount> AddWebAccountAsync(string webAccountId, string webAccountUserName, IReadOnlyDictionary<string,string> props);
function addWebAccountAsync(webAccountId, webAccountUserName, props)
Public Shared Function AddWebAccountAsync (webAccountId As String, webAccountUserName As String, props As IReadOnlyDictionary(Of String, String)) As IAsyncOperation(Of WebAccount)

Parâmetros

webAccountId
String

Platform::String

winrt::hstring

A ID da conta da Web.

webAccountUserName
String

Platform::String

winrt::hstring

O nome de usuário da conta Web.

props

IMapView<String,String>

IReadOnlyDictionary<String,String>

IMapView<Platform::String,Platform::String>

IMapView<winrt::hstring,winrt::hstring>

Propriedades da conta Web.

Retornos

Quando esse método for concluído, ele retornará a nova conta Web.

Atributos

Confira também

Aplica-se a

AddWebAccountAsync(String, String, IMapView<String,String>, WebAccountScope)

Adiciona uma nova conta Web de forma assíncrona com quatro entradas.

public:
 static IAsyncOperation<WebAccount ^> ^ AddWebAccountAsync(Platform::String ^ webAccountId, Platform::String ^ webAccountUserName, IMapView<Platform::String ^, Platform::String ^> ^ props, WebAccountScope scope);
/// [Windows.Foundation.Metadata.Overload("AddWebAccountWithScopeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<WebAccount> AddWebAccountAsync(winrt::hstring const& webAccountId, winrt::hstring const& webAccountUserName, IMapView<winrt::hstring, winrt::hstring const&> const& props, WebAccountScope const& scope);
[Windows.Foundation.Metadata.Overload("AddWebAccountWithScopeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<WebAccount> AddWebAccountAsync(string webAccountId, string webAccountUserName, IReadOnlyDictionary<string,string> props, WebAccountScope scope);
function addWebAccountAsync(webAccountId, webAccountUserName, props, scope)
Public Shared Function AddWebAccountAsync (webAccountId As String, webAccountUserName As String, props As IReadOnlyDictionary(Of String, String), scope As WebAccountScope) As IAsyncOperation(Of WebAccount)

Parâmetros

webAccountId
String

Platform::String

winrt::hstring

A ID da conta da Web.

webAccountUserName
String

Platform::String

winrt::hstring

O nome de usuário da conta Web.

props

IMapView<String,String>

IReadOnlyDictionary<String,String>

IMapView<Platform::String,Platform::String>

IMapView<winrt::hstring,winrt::hstring>

Propriedades da conta Web.

scope
WebAccountScope

O escopo da conta Web.

Retornos

Quando esse método for concluído, ele retornará a nova conta Web.

Atributos

Confira também

Aplica-se a

AddWebAccountAsync(String, String, IMapView<String,String>, WebAccountScope, String)

Adiciona uma nova conta Web de forma assíncrona com cinco entradas.

public:
 static IAsyncOperation<WebAccount ^> ^ AddWebAccountAsync(Platform::String ^ webAccountId, Platform::String ^ webAccountUserName, IMapView<Platform::String ^, Platform::String ^> ^ props, WebAccountScope scope, Platform::String ^ perUserWebAccountId);
/// [Windows.Foundation.Metadata.Overload("AddWebAccountWithScopeAndMapAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<WebAccount> AddWebAccountAsync(winrt::hstring const& webAccountId, winrt::hstring const& webAccountUserName, IMapView<winrt::hstring, winrt::hstring const&> const& props, WebAccountScope const& scope, winrt::hstring const& perUserWebAccountId);
[Windows.Foundation.Metadata.Overload("AddWebAccountWithScopeAndMapAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<WebAccount> AddWebAccountAsync(string webAccountId, string webAccountUserName, IReadOnlyDictionary<string,string> props, WebAccountScope scope, string perUserWebAccountId);
function addWebAccountAsync(webAccountId, webAccountUserName, props, scope, perUserWebAccountId)
Public Shared Function AddWebAccountAsync (webAccountId As String, webAccountUserName As String, props As IReadOnlyDictionary(Of String, String), scope As WebAccountScope, perUserWebAccountId As String) As IAsyncOperation(Of WebAccount)

Parâmetros

webAccountId
String

Platform::String

winrt::hstring

A ID da conta da Web.

webAccountUserName
String

Platform::String

winrt::hstring

O nome de usuário da conta Web.

props

IMapView<String,String>

IReadOnlyDictionary<String,String>

IMapView<Platform::String,Platform::String>

IMapView<winrt::hstring,winrt::hstring>

Propriedades da conta Web.

scope
WebAccountScope

O escopo da conta Web.

perUserWebAccountId
String

Platform::String

winrt::hstring

A ID da conta Web por usuário.

Retornos

Quando esse método for concluído, ele retornará a nova conta Web.

Atributos

Requisitos do Windows

Família de dispositivos
Windows 10 Anniversary Edition (introduzida na 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v3.0)

Confira também

Aplica-se a