語言

SlackClientWrapper.TestAuthAsync(CancellationToken) 方法

定義

封裝 Slack API 的 TestAuthAsync 方法。

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)

參數

cancellationToken
CancellationToken

任務的取消代幣。

傳回

使用者 ID。

適用於