共用方式為


Microsoft.Azure.ServiceBus Namespace

Classes

ClientEntity

Contract for all client entities with Open-Close/Abort state m/c main-purpose: closeAll related entities

CorrelationFilter

Represents the correlation filter expression.

EntityNameHelper

This class can be used to format the path for different Service Bus entity types.

ExceptionReceivedContext

Context provided for ExceptionReceivedEventArgs exception raised by the client.

ExceptionReceivedEventArgs

Provides data for the ExceptionReceivedHandler event.

ExceptionReceivedEventArgsAction

Action taking place when ExceptionReceivedEventArgs is raised.

FalseFilter

Matches none the messages arriving to be selected for the subscription.

Filter

Describes a filter expression that is evaluated against a Message.

Message

The message object used to communicate and transfer data with Service Bus.

Message.SystemPropertiesCollection

A collection used to store properties which are set by the Service Bus service.

MessageHandlerOptions

Provides options associated with message pump processing using RegisterMessageHandler(Func<Message,CancellationToken,Task>, MessageHandlerOptions) and RegisterMessageHandler(Func<Message,CancellationToken,Task>, MessageHandlerOptions).

MessageLockLostException

The exception that is thrown when the lock on the message is lost. Callers should call Receive and process the message again.

MessageNotFoundException

The exception that is thrown when the requested message is not found.

MessageSizeExceededException

The exception that is thrown when the message size exceeds the limit.

MessagingEntityDisabledException

The exception that is thrown when the Messaging Entity is disabled. Enable the entity again using Portal.

MessagingEntityNotFoundException

The exception that is thrown when the Messaging Entity is not found. Verify Entity Exists.

NoRetry

A retry policy, which does not actually retry.

QueueClient

QueueClient can be used for all basic interactions with a Service Bus Queue.

QuotaExceededException

The exception that is thrown when the Quota (Entity Max Size or other Connection etc) allocated to the Entity has exceeded. Callers should check the error message to see which of the Quota exceeded and take appropriate action.

RetryExponential

RetryPolicy implementation where the delay between retries will grow in a staggered exponential manner. RetryIntervals will be computed using a retryFactor which is a function of deltaBackOff (MaximumBackoff - MinimumBackoff) and MaximumRetryCount. RetryPolicy will not be applied when an ambient transaction is found.

RetryPolicy

Represents an abstraction for retrying messaging operations. Users should not implement this class, and instead should use one of the provided implementations. RetryPolicy will not be applied when an ambient transaction is found.

RuleAction

Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.

RuleDescription

Represents a description of a rule.

ServerBusyException

The exception that is thrown when a server is busy. Callers should wait a while and retry the operation.

ServiceBusCommunicationException

Exception for signaling general communication errors related to messaging operations.

ServiceBusConnection

Connection object to service bus namespace

ServiceBusConnectionStringBuilder

Used to generate Service Bus connection strings.

ServiceBusException

Base Exception for various Service Bus errors.

ServiceBusTimeoutException

The exception that is thrown when a time out is encountered. Callers retry the operation.

SessionCannotBeLockedException

The exception that is thrown when a session cannot be locked.

SessionClient

A session client can be used to accept session objects which can be used to interact with all messages with the same sessionId.

SessionHandlerOptions

Provides options associated with session pump processing using RegisterSessionHandler(Func<IMessageSession,Message,CancellationToken,Task>, SessionHandlerOptions) and RegisterSessionHandler(Func<IMessageSession,Message,CancellationToken,Task>, SessionHandlerOptions).

SessionLockLostException

The exception that is thrown when the lock on the Session has expired. Callers should receive the Session again.

SqlFilter

Represents a filter which is a composition of an expression and an action that is executed in the pub/sub pipeline.

SqlRuleAction

Represents set of actions written in SQL language-based syntax that is performed against a Message.

SubscriptionClient

SubscriptionClient can be used for all basic interactions with a Service Bus Subscription.

TopicClient

TopicClient can be used for all basic interactions with a Service Bus topic.

TrueFilter

Matches all the messages arriving to be selected for the subscription.

UnauthorizedException

The exception that is thrown when user doesn't have access to the entity.

Interfaces

IClientEntity

An interface showing the common functionality between all Service Bus clients.

IMessageSession

Describes a Session object. IMessageSession can be used to perform operations on sessions.

IQueueClient

QueueClient can be used for all basic interactions with a Service Bus Queue.

ISessionClient

Describes a Session client. A session client can be used to accept session objects which can be used to interact with all messages with the same sessionId.

ISubscriptionClient

SubscriptionClient can be used for all basic interactions with a Service Bus Subscription.

ITopicClient

TopicClient can be used for all basic interactions with a Service Bus topic.

Enums

MessageState
ReceiveMode

Specifies the behavior of the receiver.

ServiceBusConnectionStringBuilder.AuthenticationType
TransportType

AMQP Transport Type