Condividi tramite


WebAccountManager.AddWebAccountAsync Metodo

Definizione

Overload

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

Aggiunge un nuovo account Web in modo asincrono con tre input.

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

Aggiunge un nuovo account Web in modo asincrono con quattro input.

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

Aggiunge un nuovo account Web in modo asincrono con cinque input.

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

Aggiunge un nuovo account Web in modo asincrono con tre input.

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)

Parametri

webAccountId
String

Platform::String

winrt::hstring

ID dell'account Web.

webAccountUserName
String

Platform::String

winrt::hstring

Nome utente per l'account Web.

props

IMapView<String,String>

IReadOnlyDictionary<String,String>

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

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

Proprietà per l'account Web.

Restituisce

Al termine di questo metodo, restituisce il nuovo account Web.

Attributi

Vedi anche

Si applica a

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

Aggiunge un nuovo account Web in modo asincrono con quattro input.

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)

Parametri

webAccountId
String

Platform::String

winrt::hstring

ID dell'account Web.

webAccountUserName
String

Platform::String

winrt::hstring

Nome utente per l'account Web.

props

IMapView<String,String>

IReadOnlyDictionary<String,String>

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

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

Proprietà per l'account Web.

scope
WebAccountScope

Ambito dell'account Web.

Restituisce

Al termine di questo metodo, restituisce il nuovo account Web.

Attributi

Vedi anche

Si applica a

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

Aggiunge un nuovo account Web in modo asincrono con cinque input.

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)

Parametri

webAccountId
String

Platform::String

winrt::hstring

ID dell'account Web.

webAccountUserName
String

Platform::String

winrt::hstring

Nome utente per l'account Web.

props

IMapView<String,String>

IReadOnlyDictionary<String,String>

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

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

Proprietà per l'account Web.

scope
WebAccountScope

Ambito dell'account Web.

perUserWebAccountId
String

Platform::String

winrt::hstring

ID dell'account Web per utente.

Restituisce

Al termine di questo metodo, restituisce il nuovo account Web.

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 Anniversary Edition (è stato introdotto in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v3.0)

Vedi anche

Si applica a