WebAccount(WebAccountProvider, String, WebAccountState) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.