Queue.CreateAsync Method (String, String, QueueSettings)
Asynchronously initializes a new instance of the Queue class with the specified path and connection string and settings.
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,
QueueSettings settings
)
public:
static Task<Queue^>^ CreateAsync(
String^ path,
String^ connectionString,
QueueSettings^ settings
)
static member CreateAsync :
path:string *
connectionString:string *
settings:QueueSettings -> Task<Queue>
Public Shared Function CreateAsync (
path As String,
connectionString As String,
settings As QueueSettings
) As Task(Of Queue)
Parameters
path
Type: System.StringPath of the queue relative to the service namespace base address.
connectionString
Type: System.StringThe string used for the connection.
settings
Type: Microsoft.WindowsAzure.Messaging.QueueSettingsThe settings of 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