你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

InvokeResponseMessage interface

调用响应消息

扩展

属性

data

有效载荷数据。

dataType

有效载荷的数据类型。

error

如果调用失败,错误细节。

invocationId

这个响应所针对的调用ID。

kind

消息类型。

success

表示召唤是否成功。

属性详细信息

data

有效载荷数据。

data?: JSONTypes | ArrayBuffer

属性值

JSONTypes | ArrayBuffer

dataType

有效载荷的数据类型。

dataType?: WebPubSubDataType

属性值

error

如果调用失败,错误细节。

error?: InvokeResponseError

属性值

invocationId

这个响应所针对的调用ID。

invocationId: string

属性值

string

kind

消息类型。

kind: "invokeResponse"

属性值

"invokeResponse"

success

表示召唤是否成功。

success?: boolean

属性值

boolean