 | IAccountAssertionFailureHandlerLogin Method |
This is preliminary documentation and is subject to change.
Called when an account assertion has failed.
Namespace: WikiClientLibrary.SitesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.4+fbadc980737ddc9bb67116900ecad57f84a0b241
SyntaxTask<bool> Login(
WikiSite site
)
Function Login (
site As WikiSite
) As Task(Of Boolean)
Dim instance As IAccountAssertionFailureHandler
Dim site As WikiSite
Dim returnValue As Task(Of Boolean)
returnValue = instance.Login(site)
Task<bool>^ Login(
WikiSite^ site
)
abstract Login :
site : WikiSite -> Task<bool> Parameters
- site WikiSite
- The site where the assertion failed and needs user to login.
Return Value
TaskBoolean
A task that returns a
bool, indicating whether user should have logged in. If this method still cannot make user correctly logged in, it should be
false,
in which case, an
AccountAssertionFailureException will still be thrown to the API invoker.
See Also