The SendMessage action delivers a message to the specified queue.
Namespace: Amazon.SQS.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class SendMessageRequest
Public Class SendMessageRequest
public ref class SendMessageRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| SendMessageRequest()()()() | Initializes a new instance of the SendMessageRequest class | |
| DelaySeconds |
Gets and sets the DelaySeconds property.
The number of seconds to delay the message from being available for processing.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsSetDelaySeconds()()()() |
Checks if DelaySeconds property is set
| |
| IsSetMessageBody()()()() |
Checks if MessageBody property is set
| |
| IsSetQueueUrl()()()() |
Checks if QueueUrl property is set
| |
| MessageBody |
Gets and sets the MessageBody property.
The message to send. The maximum allowed message size is 8 KB.
The following list shows the characters (in Unicode) allowed in your message, according to the W3C XML specification
(for more information, go to http://www.w3.org/TR/REC-xml/#charsets). If you send any characters not included in the
list, your request will be rejected.
#x9 | #xA | #xD | [#x20 to #xD7FF] | [#xE000 to #xFFFD] | [#x10000 to #x10FFFF]
| |
| QueueUrl |
Gets and sets the QueueUrl property.
The URL associated with the Amazon SQS queue.
| |
| ToString()()()() | (Inherited from Object.) | |
| WithDelaySeconds(Int32) |
Sets the DelaySeconds property
| |
| WithMessageBody(String) |
Sets the MessageBody property
| |
| WithQueueUrl(String) |
Sets the QueueUrl property
|