IMessage.setBody(byte[] body) 方法

定义

Sets the body of this message as a byte array.

<xreftitle>Deprecated</xreftitle>

<xrefdescription>

  <p>Message body need not just a byte array. Replaced by <xref uid="com.microsoft.azure.servicebus.IMessage.setMessageBody(MessageBody)" data-throw-if-not-resolved="false" data-raw-source="setMessageBody(MessageBody)"></xref></p>

</xrefdescription>

public void setBody(byte[] body)

参数

body
byte []

body of this message

适用于