UserTokenExtensions.SignOutAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sign out.
public static System.Threading.Tasks.Task<object> SignOutAsync (this Microsoft.Bot.Connector.IUserToken operations, string userId, string connectionName = default, string channelId = default, System.Threading.CancellationToken cancellationToken = default);
static member SignOutAsync : Microsoft.Bot.Connector.IUserToken * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<obj>
<Extension()>
Public Function SignOutAsync (operations As IUserToken, userId As String, Optional connectionName As String = Nothing, Optional channelId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Object)
Parameters
- operations
- IUserToken
The operations group for this extension method.
- userId
- String
User ID.
- connectionName
- String
Connection name.
- channelId
- String
Channel ID.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
A task representing the work to be done.