NamespaceManager.CreateQueueAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateQueueAsync(String) |
Asynchronously creates a new queue in the service namespace with the given path. |
CreateQueueAsync(QueueDescription) |
Asynchronously creates a new queue in the service namespace with the specified queue description. |
CreateQueueAsync(String)
Asynchronously creates a new queue in the service namespace with the given path.
public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.QueueDescription> CreateQueueAsync (string path);
member this.CreateQueueAsync : string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.QueueDescription>
Public Function CreateQueueAsync (path As String) As Task(Of QueueDescription)
Parameters
- path
- String
The path of the queue relative to the service namespace base address.
Returns
The QueueDescription of the newly created queue.
Applies to
CreateQueueAsync(QueueDescription)
Asynchronously creates a new queue in the service namespace with the specified queue description.
public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.QueueDescription> CreateQueueAsync (Microsoft.ServiceBus.Messaging.QueueDescription description);
member this.CreateQueueAsync : Microsoft.ServiceBus.Messaging.QueueDescription -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.QueueDescription>
Public Function CreateQueueAsync (description As QueueDescription) As Task(Of QueueDescription)
Parameters
- description
- QueueDescription
A QueueDescription object describing the attributes with which the new queue will be created.
Returns
The QueueDescription of the newly created queue.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應