Share via


CloudQueueMessage.SetMessageContent Method

Definition

Overloads

SetMessageContent(Byte[])
Obsolete.

Sets the content of this message.

SetMessageContent(String)
Obsolete.

Sets the content of this message as a raw string.

SetMessageContent(Byte[])

Caution

Use SetMessageContent2(byte[])

Sets the content of this message.

[System.Obsolete("Use SetMessageContent2(byte[])")]
public void SetMessageContent (byte[] content);
[<System.Obsolete("Use SetMessageContent2(byte[])")>]
member this.SetMessageContent : byte[] -> unit
Public Sub SetMessageContent (content As Byte())

Parameters

content
Byte[]

The content of the message as a byte array.

Attributes

Applies to

SetMessageContent(String)

Caution

Use SetMessageContent2(string, false)

Sets the content of this message as a raw string.

[System.Obsolete("Use SetMessageContent2(string, false)")]
public void SetMessageContent (string content);
[<System.Obsolete("Use SetMessageContent2(string, false)")>]
member this.SetMessageContent : string -> unit
Public Sub SetMessageContent (content As String)

Parameters

content
String

A string containing the new message content.

Attributes

Applies to