Udostępnij za pośrednictwem


SimpleCredentialProvider.IsAuthenticationDisabledAsync Metoda

Definicja

Sprawdza, czy uwierzytelnianie bota jest wyłączone.

public System.Threading.Tasks.Task<bool> IsAuthenticationDisabledAsync();
abstract member IsAuthenticationDisabledAsync : unit -> System.Threading.Tasks.Task<bool>
override this.IsAuthenticationDisabledAsync : unit -> System.Threading.Tasks.Task<bool>
Public Function IsAuthenticationDisabledAsync () As Task(Of Boolean)

Zwraca

Zadanie reprezentujące wykonaną pracę w kolejce.

Implementuje

Uwagi

Jeśli zadanie zakończy się pomyślnie, a uwierzytelnianie bota zostanie wyłączone, wynik będzie spełniony; w przeciwnym razie wartość false.

Dotyczy