Share via


Queue Class

 

Represents the metadata of the queue.

Namespace:   Microsoft.WindowsAzure.Messaging
Assembly:  Microsoft.WindowsAzure.Messaging.Managed (in Microsoft.WindowsAzure.Messaging.Managed.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Messaging.Entity
    Microsoft.WindowsAzure.Messaging.Queue

Syntax

public sealed class Queue : Entity
public ref class Queue sealed : Entity
[<Sealed>]
type Queue = 
    class
        inherit Entity
    end
Public NotInheritable Class Queue
    Inherits Entity

Constructors

Name Description
System_CAPS_pubmethod Queue(String, String)

Initializes a new instance of the Queue class with the specified relative path.

Properties

Name Description
System_CAPS_pubproperty Connection

Gets or sets the connection string to the Microsoft Azure service.(Inherited from Entity.)

System_CAPS_pubproperty Path

Gets the name of the queue.

System_CAPS_pubproperty Token

Gets or sets the token to the Azure service.(Inherited from Entity.)

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateAsync(String, String)

Asynchronously initializes a new instance of the Queue class with the specified path and connection string.

System_CAPS_pubmethodSystem_CAPS_static CreateAsync(String, String, QueueSettings)

Asynchronously initializes a new instance of the Queue class with the specified path and connection string and settings.

System_CAPS_pubmethodSystem_CAPS_static DeleteAsync(String, String)

Deletes the specified object in the queue.

System_CAPS_pubmethod Dispose()

Releases all resources used by the current instance of the Entity class.(Inherited from Entity.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod OnMessage(Action<Message>)

Processes the queue message.

System_CAPS_pubmethod OnMessage<T>(Action<T>)

Processes the queue message.

System_CAPS_pubmethod ReceiveAsync<T>()

Begins an asynchronous request to receive data from a connected object.

System_CAPS_pubmethod ReceiveAsync<T>(TimeSpan)

Begins an asynchronous request to receive data from a connected object with the specified server wait time.

System_CAPS_pubmethod SendAsync(JsonObject)

Sends data asynchronously to a connected object with the specified json object.

System_CAPS_pubmethod SendAsync(Message)

Sends data asynchronously to a connected object.

System_CAPS_pubmethod SendAsync<T>(T)

Sends data asynchronously to a connected object with the specified message.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Messaging Namespace

Return to top