Dela via


IUserToken.SignOutWithHttpMessagesAsync Metod

Definition

Logga ut med HTTP-meddelande.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<object>> SignOutWithHttpMessagesAsync (string userId, string connectionName = default, string channelId = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member SignOutWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<obj>>
Public Function SignOutWithHttpMessagesAsync (userId As String, Optional connectionName As String = Nothing, Optional channelId As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Object))

Parametrar

userId
String

Användar-ID.

connectionName
String

Anslutningsnamn.

channelId
String

Kanal-ID.

customHeaders
Dictionary<String,List<String>>

Rubrikerna som ska läggas till i begäran.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Task<Microsoft.Rest.HttpOperationResponse<Object>>

En uppgift som representerar Microsoft.Rest.HttpOperationResponse.

Undantag

Genereras när åtgärden returnerade en ogiltig statuskod.

Microsoft.Rest.SerializationException

Returneras när det inte går att deserialisera svaret.

Microsoft.Rest.ValidationException

Genereras när en obligatorisk parameter är null.

Gäller för