AWS SDK for .NET Documentation
CreateQueueRequest Class
AmazonAmazon.SQS.ModelCreateQueueRequest Did this page help you?   Yes   No    Tell us about it...
Creates a new queue, or returns the URL of an existing one.
Declaration Syntax
C#
public class CreateQueueRequest : SQSRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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)
Determines whether the specified Object is equal to the current 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.

Remarks

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.

Inheritance Hierarchy
Object
SQSRequest
 CreateQueueRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)