HttpsBatchMessage.addMessage(HttpsSingleMessage msg) 方法

定义

Adds a message to the batch.

public void addMessage(HttpsSingleMessage msg)

参数

msg
HttpsSingleMessage

the message to be added.

例外

IotHubSizeExceededException

if adding the message causes the batched message to exceed 256 kb in size. The batched message will remain as if the message was never added.

适用于