InvokeResponse<T> Class
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.
A tuple class containing an HTTP status code and a JSON-serializable object. The HTTP status code is, in the invoke activity scenario, what will be set in the resulting POST. The body of the resulting POST will be the JSON-serialized content from the Body property.
public class InvokeResponse<T> : Microsoft.Bot.Builder.InvokeResponse
type InvokeResponse<'T> = class
inherit InvokeResponse
Public Class InvokeResponse(Of T)
Inherits InvokeResponse
Type Parameters
- T
The type of body in the InvokeResponse.
- Inheritance
Constructors
InvokeResponse<T>() |
Properties
Body |
Gets or sets the body content for the response. |
Status |
Gets or sets the HTTP status code for the response. (Inherited from InvokeResponse) |
Methods
IsSuccessStatusCode() |
Gets a value indicating whether the invoke response was successful. (Inherited from InvokeResponse) |