Queue.CreateAsync Method (String, String)

 

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

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

Syntax

public static Task<Queue> CreateAsync(
    string path,
    string connectionString
)
public:
static Task<Queue^>^ CreateAsync(
    String^ path,
    String^ connectionString
)
static member CreateAsync : 
        path:string *
        connectionString:string -> Task<Queue>
Public Shared Function CreateAsync (
    path As String,
    connectionString As String
) As Task(Of Queue)

Parameters

  • path
    Type: System.String

    Path of the queue relative to the service namespace base address.

  • connectionString
    Type: System.String

    The string used for the connection.

Return Value

Type: System.Threading.Tasks.Task<Queue>

The new instance of the Queue class.

See Also

CreateAsync Overload
Queue Class
Microsoft.WindowsAzure.Messaging Namespace

Return to top