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