Creates a new queue, or returns the URL of an existing one.
| C# |
public class CreateQueueRequest : SQSRequest
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| CreateQueueRequest()()()() | Initializes a new instance of the CreateQueueRequest class | |
| Attribute |
Name and value pair of an attribute associated with the queue.
| |
| DefaultVisibilityTimeout |
The visibility timeout (in seconds) to use for this queue.
| |
| DelaySeconds |
The default number of seconds for which the message has to be delayed.
| |
| 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.) | |
| IsSetAttribute()()()() |
Checks if Attribute property is set
| |
| IsSetDefaultVisibilityTimeout()()()() |
Checks if DefaultVisibilityTimeout property is set
| |
| IsSetDelaySeconds()()()() |
Checks if DelaySeconds property is set
| |
| IsSetQueueName()()()() |
Checks if QueueName property is set
| |
| QueueName |
The name to use for the queue created.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithAttribute(array<Attribute>[]()[][]) | Obsolete.
Sets the name and value pair of an attribute associated with the queue.
| |
| WithDefaultVisibilityTimeout(Decimal) | Obsolete.
Sets the visibility timeout (in seconds) to use for this queue.
| |
| WithDelaySeconds(Int32) | Obsolete.
Sets the default number of seconds for which the message has to be delayed.
| |
| WithQueueName(String) | Obsolete.
Sets the name to use for the queue created.
|
When you request CreateQueue, you provide a name for the queue. To successfully create a new queue, you must provide a name that is unique within the scope of your own queues. If you provide the name of an existing queue, a new queue isn't created and an error isn't returned. Instead, the request succeeds and the queue URL for the existing queue is returned.
Exception: if you provide a value for DefaultVisibilityTimeout that is different from the value for the existing queue, you receive an error.
| Object | ||
| SQSRequest | ||
| CreateQueueRequest | ||