ActivityHandler.CreateInvokeResponse(Object) Metode

Definisi

InvokeResponse Pabrik yang menginisialisasi isi ke parameter yang diteruskan dan statusnya sama dengan OK.

protected static Microsoft.Bot.Builder.InvokeResponse CreateInvokeResponse(object body = default);
static member CreateInvokeResponse : obj -> Microsoft.Bot.Builder.InvokeResponse
Protected Shared Function CreateInvokeResponse (Optional body As Object = Nothing) As InvokeResponse

Parameter

body
Object

Konten berseri JSON dari respons POST.

Mengembalikan

Objek baru InvokeResponse .

Berlaku untuk