OAuthApi.SignOutUserAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SignOutUserAsync(String, String, CancellationToken) |
已过时.
|
SignOutUserAsync(String, String, String, CancellationToken) |
SignOutUserAsync(String, String, CancellationToken)
注意
Use IOAuthApiEx.SignOutUserAsync
[System.Obsolete("Use IOAuthApiEx.SignOutUserAsync")]
public System.Threading.Tasks.Task<bool> SignOutUserAsync (string userId, string connectionName, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Use IOAuthApiEx.SignOutUserAsync")>]
abstract member SignOutUserAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.SignOutUserAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function SignOutUserAsync (userId As String, connectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
参数
- userId
- String
- connectionName
- String
- cancellationToken
- CancellationToken
返回
实现
- 属性
适用于
SignOutUserAsync(String, String, String, CancellationToken)
public System.Threading.Tasks.Task<bool> SignOutUserAsync (string channelId, string userId, string connectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member SignOutUserAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.SignOutUserAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function SignOutUserAsync (channelId As String, userId As String, connectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
参数
- channelId
- String
- userId
- String
- connectionName
- String
- cancellationToken
- CancellationToken