ReceiveRequestExtensions.ReadBodyAsStringAsync(ReceiveRequest) 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.
Reads the body of this ReceiveRequest as a string.
public static System.Threading.Tasks.Task<string> ReadBodyAsStringAsync (this Microsoft.Bot.Streaming.ReceiveRequest request);
static member ReadBodyAsStringAsync : Microsoft.Bot.Streaming.ReceiveRequest -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function ReadBodyAsStringAsync (request As ReceiveRequest) As Task(Of String)
Parameters
- request
- ReceiveRequest
The current instance of ReceiveRequest.
Returns
On success, a string populated with data read from the ReceiveRequest body. Otherwise null.