Taal

ServiceClientCredentialsFactory.IsAuthenticationDisabledAsync Methode

Definitie

Controleert of botverificatie is uitgeschakeld.

public abstract System.Threading.Tasks.Task<bool> IsAuthenticationDisabledAsync(System.Threading.CancellationToken cancellationToken);
abstract member IsAuthenticationDisabledAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public MustOverride Function IsAuthenticationDisabledAsync (cancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

cancellationToken
CancellationToken

Een annuleringstoken.

Retouren

Een taak die het werk vertegenwoordigt dat in de wachtrij staat om uit te voeren.

Opmerkingen

Als de taak succesvol is en botauthenticatie is uitgeschakeld, is het resultaat waar; anders onwaar.

Deze methode is asynchroon om aangepaste implementaties in te schakelen die mogelijk moeten worden aangeroepen om de appId/het wachtwoordpaar te valideren.

Van toepassing op