Dela via


ITopicOperations Interface

Definition

The Service Bus Management API includes operations for managing Service Bus topics for a namespace.

public interface ITopicOperations
type ITopicOperations = interface
Public Interface ITopicOperations

Methods

CreateAsync(String, ServiceBusTopic, CancellationToken)

Creates a new topic. Once created, this topic resource manifest is immutable. This operation is not idempotent. Repeating the create call, after a topic with same name has been created successfully, will result in a 409 Conflict error message. (see http://msdn.microsoft.com/en-us/library/windowsazure/hh780728.aspx for more information)

DeleteAsync(String, String, CancellationToken)

Deletes an existing topic. This operation will also remove all associated state including associated subscriptions. (see http://msdn.microsoft.com/en-us/library/hh780721.aspx for more information)

GetAsync(String, String, CancellationToken)

The topic description is an XML AtomPub document that defines the desired semantics for a topic. The topic description contains the following properties. For more information, see the TopicDescription Properties topic. (see http://msdn.microsoft.com/en-us/library/windowsazure/hh780749.aspx for more information)

GetConnectionDetailsAsync(String, String, CancellationToken)

Gets the set of connection strings for a topic.

ListAsync(String, CancellationToken)

Enumerates the topics in the service namespace. An empty feed is returned if no topic exists in the service namespace. (see http://msdn.microsoft.com/en-us/library/windowsazure/hh780744.aspx for more information)

UpdateAsync(String, ServiceBusTopic, CancellationToken)

Updates a topic. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj839740.aspx for more information)

Extension Methods

Create(ITopicOperations, String, ServiceBusTopic)

Creates a new topic. Once created, this topic resource manifest is immutable. This operation is not idempotent. Repeating the create call, after a topic with same name has been created successfully, will result in a 409 Conflict error message. (see http://msdn.microsoft.com/en-us/library/windowsazure/hh780728.aspx for more information)

CreateAsync(ITopicOperations, String, ServiceBusTopic)

Creates a new topic. Once created, this topic resource manifest is immutable. This operation is not idempotent. Repeating the create call, after a topic with same name has been created successfully, will result in a 409 Conflict error message. (see http://msdn.microsoft.com/en-us/library/windowsazure/hh780728.aspx for more information)

Delete(ITopicOperations, String, String)

Deletes an existing topic. This operation will also remove all associated state including associated subscriptions. (see http://msdn.microsoft.com/en-us/library/hh780721.aspx for more information)

DeleteAsync(ITopicOperations, String, String)

Deletes an existing topic. This operation will also remove all associated state including associated subscriptions. (see http://msdn.microsoft.com/en-us/library/hh780721.aspx for more information)

Get(ITopicOperations, String, String)

The topic description is an XML AtomPub document that defines the desired semantics for a topic. The topic description contains the following properties. For more information, see the TopicDescription Properties topic. (see http://msdn.microsoft.com/en-us/library/windowsazure/hh780749.aspx for more information)

GetAsync(ITopicOperations, String, String)

The topic description is an XML AtomPub document that defines the desired semantics for a topic. The topic description contains the following properties. For more information, see the TopicDescription Properties topic. (see http://msdn.microsoft.com/en-us/library/windowsazure/hh780749.aspx for more information)

GetConnectionDetails(ITopicOperations, String, String)

Gets the set of connection strings for a topic.

GetConnectionDetailsAsync(ITopicOperations, String, String)

Gets the set of connection strings for a topic.

List(ITopicOperations, String)

Enumerates the topics in the service namespace. An empty feed is returned if no topic exists in the service namespace. (see http://msdn.microsoft.com/en-us/library/windowsazure/hh780744.aspx for more information)

ListAsync(ITopicOperations, String)

Enumerates the topics in the service namespace. An empty feed is returned if no topic exists in the service namespace. (see http://msdn.microsoft.com/en-us/library/windowsazure/hh780744.aspx for more information)

Update(ITopicOperations, String, ServiceBusTopic)

Updates a topic. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj839740.aspx for more information)

UpdateAsync(ITopicOperations, String, ServiceBusTopic)

Updates a topic. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj839740.aspx for more information)

Applies to