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 | |
---|---|---|
Queue(String, String) | Initializes a new instance of the Queue class with the specified relative path. |
Properties
Name | Description | |
---|---|---|
Connection | Gets or sets the connection string to the Microsoft Azure service.(Inherited from Entity.) |
|
Path | Gets the name of the queue. |
|
Token | Gets or sets the token to the Azure service.(Inherited from Entity.) |
Methods
Name | Description | |
---|---|---|
CreateAsync(String, String) | Asynchronously initializes a new instance of the Queue class with the specified path and connection string. |
|
CreateAsync(String, String, QueueSettings) | Asynchronously initializes a new instance of the Queue class with the specified path and connection string and settings. |
|
DeleteAsync(String, String) | Deletes the specified object in the queue. |
|
Dispose() | Releases all resources used by the current instance of the Entity class.(Inherited from Entity.) |
|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
OnMessage(Action<Message>) | Processes the queue message. |
|
OnMessage<T>(Action<T>) | Processes the queue message. |
|
ReceiveAsync<T>() | Begins an asynchronous request to receive data from a connected object. |
|
ReceiveAsync<T>(TimeSpan) | Begins an asynchronous request to receive data from a connected object with the specified server wait time. |
|
SendAsync(JsonObject) | Sends data asynchronously to a connected object with the specified json object. |
|
SendAsync(Message) | Sends data asynchronously to a connected object. |
|
SendAsync<T>(T) | Sends data asynchronously to a connected object with the specified message. |
|
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