CallingContext.GenerateParsedResults(HttpStatusCode, String, Task<Stream>) 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.
Generate the ParsedCallingRequest from the arguments
public static Microsoft.Bot.Builder.Calling.ParsedCallingRequest GenerateParsedResults (System.Net.HttpStatusCode statusCode, string content = default, System.Threading.Tasks.Task<System.IO.Stream> additionalData = default);
static member GenerateParsedResults : System.Net.HttpStatusCode * string * System.Threading.Tasks.Task<System.IO.Stream> -> Microsoft.Bot.Builder.Calling.ParsedCallingRequest
Public Shared Function GenerateParsedResults (statusCode As HttpStatusCode, Optional content As String = Nothing, Optional additionalData As Task(Of Stream) = Nothing) As ParsedCallingRequest
Parameters
- statusCode
- HttpStatusCode
Status code indicating if the parsing was successful or not
- content
- String
Content from the request. If the request had multipart content, the first part should be json and this will contain the first json content
If the request had multipart content, this will contain the additional data present after the first json content