MessagingFactory Class

Definition

The MessagingFactory class is the anchor class used for run time operations to send and receive to and from queues, topics, or subscriptions.

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

Inherited Members

Microsoft.ServiceBus.Messaging.ClientEntity

Remarks

Please note that any member method with CreateXXXClient, such as CreateQueueClient, does not create a new entity in the namespace. It only gets handle to an existing entity created earlier using the NamespaceManager. If these entities does not exist in the namespace, you will get an exception.

Properties

Address

Gets the base address of the messaging factory.

Namespace<wbr>Endpoints

Gets a list of namespace endpoints.

Prefetch<wbr>Count

Gets or sets the number of messages that the message receiver can simultaneously request.

Methods

Accept<wbr>Message<wbr>Session()

Returns available sessions across all session-enabled subscriptions and queues in the service namespace.

Accept<wbr>Message<wbr>Session(Time<wbr>Span)

Returns available sessions across all session-enabled subscriptions and queues in the service namespace.

Accept<wbr>Message<wbr>Session<wbr>Async()

Asynchronously returns available sessions across all session-enabled subscriptions and queues in the service namespace.

Accept<wbr>Message<wbr>Session<wbr>Async(Time<wbr>Span)

Asynchronously returns available sessions across all session-enabled subscriptions and queues in the service namespace.

Create(Uri, Token<wbr>Provider)

Creates a new MessagingFactory object.

Create(Uri, Messaging<wbr>Factory<wbr>Settings)

Creates a new MessagingFactory object.

Create(String, Token<wbr>Provider)

Creates a new MessagingFactory object.

Create(String, Messaging<wbr>Factory<wbr>Settings)

Creates a new MessagingFactory object.

Create(IEnumerable<Uri>, Token<wbr>Provider)

Creates a new MessagingFactory object.

Create(IEnumerable<Uri>, Messaging<wbr>Factory<wbr>Settings)

Creates a new MessagingFactory object.

Create(IEnumerable<String>, Token<wbr>Provider)

Creates a new MessagingFactory object.

Create(IEnumerable<String>, Messaging<wbr>Factory<wbr>Settings)

Creates a new MessagingFactory object.

Create(Uri)

Creates a new MessagingFactory object.

Create(String)

Creates a new MessagingFactory object.

Create(IEnumerable<Uri>)

Creates a new MessagingFactory object.

Create(IEnumerable<String>)

Creates a new MessagingFactory object.

Create()

Creates a new messaging factory object.

Create<wbr>Async(Uri, Token<wbr>Provider)

Asynchronously creates a new messaging factory object.

Create<wbr>Async(Uri, Messaging<wbr>Factory<wbr>Settings)

Asynchronously creates a new messaging factory object.

Create<wbr>Async(String, Token<wbr>Provider)

Asynchronously creates a new messaging factory object.

Create<wbr>Async(String, Messaging<wbr>Factory<wbr>Settings)

Asynchronously creates a new messaging factory object.

Create<wbr>Async(IEnumerable<Uri>, Token<wbr>Provider)

Asynchronously creates a new messaging factory object.

Create<wbr>Async(IEnumerable<Uri>, Messaging<wbr>Factory<wbr>Settings)

Asynchronously creates a new messaging factory object.

Create<wbr>Async(IEnumerable<String>)

Asynchronously creates a new messaging factory object.

Create<wbr>Async(IEnumerable<String>, Messaging<wbr>Factory<wbr>Settings)

Asynchronously creates a new messaging factory object.

Create<wbr>Async(Uri)

Asynchronously creates a new messaging factory object.

Create<wbr>Async(String)

Asynchronously creates a new messaging factory object.

Create<wbr>Async(IEnumerable<Uri>)

Asynchronously creates a new messaging factory object.

Create<wbr>Async(IEnumerable<String>, Token<wbr>Provider)

Asynchronously creates a new messaging factory object.

Create<wbr>Event<wbr>Hub<wbr>Client(String)

Creates a new EventHubClient object using the specified path.

Create<wbr>From<wbr>Connection<wbr>String(String)

Creates a new MessagingFactory object from a connection string.

Create<wbr>Message<wbr>Receiver(String)

Creates a message receiver.

Create<wbr>Message<wbr>Receiver(String, Receive<wbr>Mode)

Creates a message receiver.

Create<wbr>Message<wbr>Receiver<wbr>Async(String, Receive<wbr>Mode)

Asynchronously creates a message receiver.

Create<wbr>Message<wbr>Receiver<wbr>Async(String)

Asynchronously creates a message receiver.

Create<wbr>Message<wbr>Sender(String, String)

Creates a message sender.

Create<wbr>Message<wbr>Sender(String)

Creates a message sender.

Create<wbr>Message<wbr>Sender<wbr>Async(String)

Asynchronously creates a message sender.

Create<wbr>Message<wbr>Sender<wbr>Async(String, String)

Asynchronously creates a message sender.

Create<wbr>Queue<wbr>Client(String)

Creates a new queue client.

Create<wbr>Queue<wbr>Client(String, Receive<wbr>Mode)

Creates a new queue client.

Create<wbr>Subscription<wbr>Client(String, String)

Creates a subscription client.

Create<wbr>Subscription<wbr>Client(String, String, Receive<wbr>Mode)

Creates a new subscription client.

Create<wbr>Topic<wbr>Client(String)

Creates a new topic client.

Get<wbr>Settings()

Retrieves a copy of the settings of the messaging factory.

Increment<wbr>Connection<wbr>Reset<wbr>Count(Uri)
On<wbr>Abort()

Executes the abort action.

On<wbr>Accept<wbr>Message<wbr>Session(Receive<wbr>Mode, Time<wbr>Span, Time<wbr>Span)

Executes the accept message session.

On<wbr>Accept<wbr>Session<wbr>Receiver(String, String, Receive<wbr>Mode, Time<wbr>Span)

Executes the accept session receiver action.

On<wbr>Begin<wbr>Accept<wbr>Message<wbr>Session(Receive<wbr>Mode, Time<wbr>Span, Time<wbr>Span, Async<wbr>Callback, Object)

Executes the begin accept message session action.

On<wbr>Begin<wbr>Accept<wbr>Session<wbr>Receiver(String, String, Receive<wbr>Mode, Time<wbr>Span, Async<wbr>Callback, Object)

Executes the begin accept session receiver action.

On<wbr>Begin<wbr>Close(Time<wbr>Span, Async<wbr>Callback, Object)

Executes the begin close action.

On<wbr>Begin<wbr>Create<wbr>Message<wbr>Receiver(String, Receive<wbr>Mode, Time<wbr>Span, Async<wbr>Callback, Object)

Executes the begin create message receiver action.

On<wbr>Begin<wbr>Create<wbr>Message<wbr>Sender(String, String, Time<wbr>Span, Async<wbr>Callback, Object)

Executes the begin create message sender action.

On<wbr>Begin<wbr>Create<wbr>Message<wbr>Sender(String, Time<wbr>Span, Async<wbr>Callback, Object)

Executes the begin create message sender action.

On<wbr>Close(Time<wbr>Span)

Executes the close action.

On<wbr>Create<wbr>Event<wbr>Hub<wbr>Client(String)

Executes the create event hub client action.

On<wbr>Create<wbr>Message<wbr>Receiver(String, Receive<wbr>Mode, Time<wbr>Span)

Executes the create message receiver action.

On<wbr>Create<wbr>Message<wbr>Sender(String, Time<wbr>Span)

Executes the create message sender action.

On<wbr>Create<wbr>Message<wbr>Sender(String, String, Time<wbr>Span)

Executes the create message sender action.

On<wbr>Create<wbr>Queue<wbr>Client(String, Receive<wbr>Mode)

Executes the create queue client action.

On<wbr>Create<wbr>Subscription<wbr>Client(String, Receive<wbr>Mode)

Executes a create subscription client action.

On<wbr>Create<wbr>Subscription<wbr>Client(String, String, Receive<wbr>Mode)

Executes a create subscription client action.

On<wbr>Create<wbr>Topic<wbr>Client(String)

Executes the create topic client action.

On<wbr>End<wbr>Accept<wbr>Message<wbr>Session(IAsync<wbr>Result)

Executes the end accept message session action.

On<wbr>End<wbr>Accept<wbr>Session<wbr>Receiver(IAsync<wbr>Result)

Executes the end accept session receiver action.

On<wbr>End<wbr>Close(IAsync<wbr>Result)

Executes the end close action.

On<wbr>End<wbr>Create<wbr>Message<wbr>Receiver(IAsync<wbr>Result)

Executes the end create message receiver action.

On<wbr>End<wbr>Create<wbr>Message<wbr>Sender(IAsync<wbr>Result)

Executes the end create message sender action.

Pair<wbr>Namespace<wbr>Async(Paired<wbr>Namespace<wbr>Options)

Asynchronously pairs a namespace.

Reset<wbr>Connection()

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)