Compartilhar via


ReceiveResponseExtensions.ReadBodyAsStringAsync(ReceiveResponse) Método

Definição

Serializa o corpo disso ReceiveResponse como um 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)

Parâmetros

response
ReceiveResponse

A instância atual do ReceiveResponse.

Retornos

Em caso de êxito, um String dos dados do ReceiveResponse corpo.

Aplica-se a