Partager via


ReceiveResponseExtensions.ReadBodyAsStringAsync(ReceiveResponse) Méthode

Définition

Sérialise le corps de ce ReceiveResponse en tant que 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 réussite, un String des données du ReceiveResponse corps.

S’applique à