SlackClientWrapper.TestAuthAsync(CancellationToken) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Enveloppe la méthode TestAuthAsync de l’API Slack.
public virtual System.Threading.Tasks.Task<string> TestAuthAsync(System.Threading.CancellationToken cancellationToken);
abstract member TestAuthAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.TestAuthAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function TestAuthAsync (cancellationToken As CancellationToken) As Task(Of String)
Paramètres
- cancellationToken
- CancellationToken
Un jeton d’annulation pour la tâche.
Retours
L’identifiant de l’utilisateur.