Sdílet prostřednictvím


ReceiveResponseExtensions.ReadBodyAsStringAsync(ReceiveResponse) Metoda

Definice

Serializuje tělo tohoto ReceiveResponse jako 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)

Parametry

response
ReceiveResponse

Aktuální instance objektu ReceiveResponse.

Návraty

Při úspěchu an String dat z ReceiveResponse těla.

Platí pro