ReceiveResponseExtensions.ReadBodyAsString(ReceiveResponse) Method

Definition

Serializes the body of this ReceiveResponse as a String.

public static string ReadBodyAsString (this Microsoft.Bot.Streaming.ReceiveResponse response);
static member ReadBodyAsString : Microsoft.Bot.Streaming.ReceiveResponse -> string
<Extension()>
Public Function ReadBodyAsString (response As ReceiveResponse) As String

Parameters

response
ReceiveResponse

The current instance of ReceiveResponse.

Returns

String

On success, an String of the data from the ReceiveResponse body.

Applies to