Delen via


WebAccount(WebAccountProvider, String, WebAccountState) Constructor

Definition

Creates an instance of the WebAccount class.

public:
 WebAccount(WebAccountProvider ^ webAccountProvider, Platform::String ^ userName, WebAccountState state);
 WebAccount(WebAccountProvider const& webAccountProvider, winrt::hstring const& userName, WebAccountState const& state);
public WebAccount(WebAccountProvider webAccountProvider, string userName, WebAccountState state);
function WebAccount(webAccountProvider, userName, state)
Public Sub New (webAccountProvider As WebAccountProvider, userName As String, state As WebAccountState)

Parameters

webAccountProvider
WebAccountProvider

The web account provider associated with the web account.

userName
String

Platform::String

winrt::hstring

The user name of the web account.

state
WebAccountState

The state of the web account.

Applies to