SALES: 1-800-867-1380
Expand Minimize

NamespaceManager.BeginDeleteTopic Method

Asynchronous version of DeleteTopic(String) method.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public IAsyncResult BeginDeleteTopic(
	string path,
	AsyncCallback callback,
	Object state
)

Parameters

path
Type: System.String
The path of the topic relative to the service namespace base address.
callback
Type: System.AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
state
Type: System.Object
A user-defined object that contains state information about the asynchronous operation. This object is passed to the EndDeleteTopic(IAsyncResult) delegate when the operation is complete.

Return Value

Type: System.IAsyncResult
An IAsyncResult object that references the asynchronous operation to delete a topic.

ExceptionCondition
ArgumentException

path is empty or null, or path starts or ends with "/".

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft