InvokeResponse<T> Class

Definition

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
InvokeResponse<T>

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)

Applies to