Topic​Client Class

Definition

An anchor class used to access a TopicDescription to perform run-time operations.

public abstract class TopicClient : Microsoft.ServiceBus.Messaging.ClientEntity
Inheritance
TopicClient

Inherited Members

Microsoft.ServiceBus.Messaging.ClientEntity

Properties

Is​Sub​Queue

Gets or sets a value that indicates whether the message receiver is created from a subqueue.

Messaging​Factory

Gets or sets the messaging factory that was used in creating this TopicClient object.

Path

Gets or sets the full pathname of the file.

Methods

Cancel​Scheduled​Message​Async(​Int64)

Cancels a scheduled message

Create(​String)

Creates a new instance of TopicClient.

Create​From​Connection​String(​String)

Creates a new instance of TopicClient using the specified connection string.

Create​From​Connection​String(​String, ​String)

Creates a new instance of TopicClient using the specified connection string and path to the topic. Use this overload only when the connection string does not use the EntityPath property.

Format​Transfer​Dead​Letter​Path(​String)

A utility method that, given the topic path and subscription name, forms a full path that points to the dead letter queue of the topic's transfer topic.

On​Abort()

Executes the abort action.

On​Begin​Close(​Time​Span, ​Async​Callback, ​Object)

Executes the begin close action.

On​Begin​Create​Sender(​Time​Span, ​Async​Callback, ​Object)

Executes the begin create sender action.

On​Close(​Time​Span)

Executes the close action.

On​End​Close(​IAsync​Result)

Executes the end close action.

On​End​Create​Sender(​IAsync​Result)

Executes the end create sender action.

Peek()

Peeks a BrokeredMessage from current queue/topic.

Peek(​Int64)

Peeks a BrokeredMessage from current queue/topic.

Peek​Async()
Peek​Async(​Int64)
Peek​Batch(​Int32)

Peeks a BrokeredMessage from current queue/topic.

Peek​Batch(​Int64, ​Int32)
Peek​Batch​Async(​Int32)
Peek​Batch​Async(​Int64, ​Int32)
Schedule​Message​Async(​Brokered​Message, ​Date​Time​Offset)

Sends a scheduled message

Send(​Brokered​Message)

Sends a message using the Microsoft.ServiceBus.Messaging.QueueClient.InternalSender.

Send​Async(​Brokered​Message)

Asynchronously sends a message using the Microsoft.ServiceBus.Messaging.QueueClient.InternalSender.

Send​Batch(​IEnumerable<​Brokered​Message>)

Sends a set of brokered messages (for batch processing).

Send​Batch​Async(​IEnumerable<​Brokered​Message>)

Asynchronously sends a set of brokered messages (for batch processing).

Extension Methods

IsDefined(Object)

An anchor class used to access a TopicDescription to perform run-time operations.

IsNull(Object)

An anchor class used to access a TopicDescription to perform run-time operations.

IsPrimitive(Object)

An anchor class used to access a TopicDescription to perform run-time operations.