| WikiSiteLoginAsync(String, String, String, CancellationToken) Method |
This is preliminary documentation and is subject to change.
Logins into the wiki site.
Namespace: WikiClientLibrary.SitesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public Task LoginAsync(
string userName,
string password,
string? domain,
CancellationToken cancellationToken
)
Public Function LoginAsync (
userName As String,
password As String,
domain As String,
cancellationToken As CancellationToken
) As Task
Dim instance As WikiSite
Dim userName As String
Dim password As String
Dim domain As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task
returnValue = instance.LoginAsync(userName,
password, domain, cancellationToken)
public:
Task^ LoginAsync(
String^ userName,
String^ password,
String^ domain,
CancellationToken cancellationToken
)
member LoginAsync :
userName : string *
password : string *
domain : string *
cancellationToken : CancellationToken -> Task
Parameters
- userName String
- User name of the account.
- password String
- Password of the account.
- domain String
- Domain name. null is usually a good choice.
- cancellationToken CancellationToken
- The cancellation token that will be checked prior to completing the returned task.
Return Value
TaskExceptions Remarks See Also