Lingua

BotSignIn.GetSignInUrlWithHttpMessagesAsync Metodo

Definizione

Riceve l'URL di accesso con il messaggio HTTP.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<string>> GetSignInUrlWithHttpMessagesAsync(string state, string codeChallenge = default, string emulatorUrl = default, string finalRedirect = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSignInUrlWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<string>>
override this.GetSignInUrlWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<string>>
Public Function GetSignInUrlWithHttpMessagesAsync (state As String, Optional codeChallenge As String = Nothing, Optional emulatorUrl As String = Nothing, Optional finalRedirect As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of String))

Parametri

state
String

Stato.

codeChallenge
String

Verifica del codice.

emulatorUrl
String

URL dell'emulatore.

finalRedirect
String

Ultimo reindirizzamento.

customHeaders
Dictionary<String,List<String>>

Header che verranno aggiunti alla richiesta.

cancellationToken
CancellationToken

Token di annullamento.

Valori restituiti

Task<Microsoft.Rest.HttpOperationResponse<String>>

Un oggetto risposta contenente il corpo della risposta e le intestazioni risposta.

Implementazioni

Eccezioni

Microsoft.Rest.HttpOperationException

Veniva lanciata quando l'operazione restituiva un codice di stato non valido.

Microsoft.Rest.SerializationException

Viene lanciato quando non si riesce a deserializzare la risposta.

Microsoft.Rest.ValidationException

Lanciata quando un valore di input non corrisponde al tipo di dato atteso, all'intervallo o al modello del campo dati.

Viene lanciato quando un parametro richiesto è nullo.

Si applica a