Langue

ReceiveResponseExtensions.ReadBodyAsStringAsync(ReceiveResponse) Méthode

Définition

Sérialise le corps de ceci ReceiveResponse comme un String.

public static System.Threading.Tasks.Task<string> ReadBodyAsStringAsync(this Microsoft.Bot.Streaming.ReceiveResponse response);
static member ReadBodyAsStringAsync : Microsoft.Bot.Streaming.ReceiveResponse -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function ReadBodyAsStringAsync (response As ReceiveResponse) As Task(Of String)

Paramètres

response
ReceiveResponse

Instance actuelle de ReceiveResponse.

Retours

En cas de succès, une String des données provenant du ReceiveResponse corps.

S’applique à