ReceiveResponseExtensions.ReadBodyAsStringAsync(ReceiveResponse) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes the body of this ReceiveResponse as a 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)
Parameters
- response
- ReceiveResponse
The current instance of ReceiveResponse.
Returns
On success, an String of the data from the ReceiveResponse body.