IotHubTransportConnection.sendMessage(Message message) 方法

定义

Send a single message to the IotHub over the Transport Connection

public IotHubStatusCode sendMessage(Message message)

参数

message
Message

the message to send

返回

the status code from the service

例外

TransportException

if any exception is encountered while sending the message

适用于