Click or drag to resize

WikiSiteLogoutAsync(Boolean) Method

This is preliminary documentation and is subject to change.

Logouts from the wiki site.

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public Task LogoutAsync(
	bool invalidateAccountInfo
)

Parameters

invalidateAccountInfo  Boolean
Whether to invalidate AccountInfo instead of calling RefreshAccountInfoAsync to retrieve the latest account information after logging out.

Return Value

Task
Exceptions
ExceptionCondition
InvalidOperationExceptionAttempt to login/logout concurrently.
Remarks
If invalidateAccountInfo is true, AccountInfo will be invalidated, and any attempt to read the property will raise InvalidOperationException until the next successful login.
See Also