Exportera (0) Skriv ut
Visa allt
Expand Minimize
EN
Det här innehållet finns inte tillgängligt på ditt språk men här finns den engelska versionen,

SubscriptionClient Methods

The SubscriptionClient type exposes the following members.

  Name Description
Public method Abandon(Guid) Discards the message and relinquishes the message lock ownership.
Public method Abandon(Guid, IDictionary<String, Object>) Discards the message and relinquishes the message lock ownership.
Public method AbandonAsync(Guid) Asynchronously discards the message and relinquishes the message lock ownership.
Public method AbandonAsync(Guid, IDictionary<String, Object>) Asynchronously discards the message and relinquishes the message lock ownership.
Public method Abort Performs abort functionality on the messaging entity. (Inherited from ClientEntity.)
Public method AcceptMessageSession() Accepts a message session that allows grouping of related messages for processing in a single transaction.
Public method AcceptMessageSession(String) Accepts a message session that allows grouping of related messages for processing in a single transaction using the given session identifier.
Public method AcceptMessageSession(TimeSpan) Accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.
Public method AcceptMessageSession(String, TimeSpan) Accepts a message session that allows grouping of related messages for processing in a single transaction using the given session identifier and wait time.
Public method AcceptMessageSessionAsync() Asynchronously accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.
Public method AcceptMessageSessionAsync(String) Asynchronously accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.
Public method AcceptMessageSessionAsync(TimeSpan) Asynchronously accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.
Public method AcceptMessageSessionAsync(String, TimeSpan) Asynchronously accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.
Public method AddRule(RuleDescription) Adds a new rule to the Subscription using the specified rule description.
Public method AddRule(String, Filter) Adds a rule to the current subscription with the specified name and filter expression.
Public method AddRuleAsync(RuleDescription) Asynchronously adds a new rule to the Subscription using the specified rule description.
Public method AddRuleAsync(String, Filter) Asynchronously adds a rule to the current subscription with the specified name and filter expression.
Public method BeginAbandon(Guid, AsyncCallback, Object) Begins an asynchronous operation to abandon the message and relinquish its lock.
Public method BeginAbandon(Guid, IDictionary<String, Object>, AsyncCallback, Object) Begins an asynchronous operation to abandon the message and relinquish its lock.
Public method BeginAcceptMessageSession(AsyncCallback, Object) Begins an asynchronous operation to accept a message session.
Public method BeginAcceptMessageSession(String, AsyncCallback, Object) Begins an asynchronous operation to accept a message session.
Public method BeginAcceptMessageSession(TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to accept a message session.
Public method BeginAcceptMessageSession(String, TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to accept a message session.
Public method BeginAddRule(RuleDescription, AsyncCallback, Object) Begins an asynchronous operation to add a new rule to the subscription.
Public method BeginAddRule(String, Filter, AsyncCallback, Object) Begins an asynchronous operation to add a new rule to the subscription.
Public method BeginClose Begins an asynchronous operation to close the message client entity. (Inherited from MessageClientEntity.)
Public method BeginComplete Begins an asynchronous operation to complete processing of a message.
Public method BeginCompleteBatch Begins an asynchronous operation to complete processing of a message.
Public method BeginDeadLetter(Guid, AsyncCallback, Object) Begins an asynchronous operation to move a message to the dead letter queue.
Public method BeginDeadLetter(Guid, IDictionary<String, Object>, AsyncCallback, Object) Begins an asynchronous operation to move a message to the dead letter queue.
Public method BeginDeadLetter(Guid, String, String, AsyncCallback, Object) Begins an asynchronous operation to move a message to the dead letter queue.
Public method BeginDefer(Guid, AsyncCallback, Object) Begins an asynchronous operation to suspend processing of a message.
Public method BeginDefer(Guid, IDictionary<String, Object>, AsyncCallback, Object) Begins an asynchronous operation to suspend processing of a message.
Public method BeginGetMessageSessions(AsyncCallback, Object) Begins an asynchronous operation to get a message session.
Public method BeginGetMessageSessions(DateTime, AsyncCallback, Object) Begins an asynchronous operation to get a message session.
Public method BeginPeek(AsyncCallback, Object) Begins an asynchronous operation to return without removing the first message in the queue.
Public method BeginPeek(Int64, AsyncCallback, Object) Begins an asynchronous operation to return without removing the first message in the queue.
Public method BeginPeekBatch(Int32, AsyncCallback, Object) Begins an asynchronous operation to peek a batch.
Public method BeginPeekBatch(Int64, Int32, AsyncCallback, Object) Begins an asynchronous operation to peek a batch.
Public method BeginReceive(AsyncCallback, Object) Begins an asynchronous operation to receive a message.
Public method BeginReceive(Int64, AsyncCallback, Object) Begins an asynchronous operation to receive a message.
Public method BeginReceive(TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to receive a message.
Public method BeginReceiveBatch(IEnumerable<Int64>, AsyncCallback, Object) Begins an asynchronous operation to receive a batch.
Public method BeginReceiveBatch(Int32, AsyncCallback, Object) Begins an asynchronous operation to receive a batch.
Public method BeginReceiveBatch(Int32, TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to receive a batch.
Public method BeginRemoveRule Begins an asynchronous remove rule action.
Public method Close Sends a cleanup message to Service Bus to signal the completion of the usage of an entity. (Inherited from ClientEntity.)
Public method CloseAsync Sends a cleanup message asynchronously to Service Bus to signal the completion of the usage of an entity. (Inherited from ClientEntity.)
Public method Complete Completes processing of a message.
Public method CompleteAsync Asynchronously completes processing of a message.
Public method CompleteBatch Completes processing of a batch.
Public method CompleteBatchAsync Asynchronously completes processing of a batch.
Public method Static member Create(String, String) Creates a new copy of SubscriptionClient with specified name and topic path.
Public method Static member Create(String, String, ReceiveMode) Creates a new copy of SubscriptionClient with specified name, topic path and mode.
Public method Static member CreateFromConnectionString(String, String, String) Creates a new copy of SubscriptionClient from a connection string with specified topic path and name.
Public method Static member CreateFromConnectionString(String, String, String, ReceiveMode) Creates a new copy of SubscriptionClient from a connection string with specified topic path, name and mode.
Public method DeadLetter(Guid) Moves the undelivered message to the dead letter queue.
Public method DeadLetter(Guid, IDictionary<String, Object>) Moves the undelivered message to the dead letter queue.
Public method DeadLetter(Guid, String, String) Moves the undelivered message to the dead letter queue.
Public method DeadLetterAsync(Guid) Asynchronously moves the undelivered message to the dead letter queue.
Public method DeadLetterAsync(Guid, IDictionary<String, Object>) Asynchronously moves the undelivered message to the dead letter queue.
Public method DeadLetterAsync(Guid, String, String) Asynchronously moves the undelivered message to the dead letter queue.
Public method Defer(Guid) Suspends the processing of a message.
Public method Defer(Guid, IDictionary<String, Object>) Suspends the processing of a message.
Public method DeferAsync(Guid) Asynchronously suspends the processing of a message.
Public method DeferAsync(Guid, IDictionary<String, Object>) Asynchronously suspends the processing of a message.
Public method EndAbandon Finishes an asynchronous operation to abandon the message and relinquish its lock.
Public method EndAcceptMessageSession Finishes an asynchronous operation to accept a message session that allows grouping of related messages for processing in a single transaction.
Public method EndAddRule Ends an asynchronous add rule operation.
Public method EndClose Finishes an asynchronous operation to close the message client entity. (Inherited from MessageClientEntity.)
Public method EndComplete Finishes an asynchronous operation to complete processing of a message.
Public method EndCompleteBatch Finishes an asynchronous operation to complete processing of a batch.
Public method EndDeadLetter Finishes an asynchronous operation to move message to the dead letter queue.
Public method EndDefer Finishes an asynchronous operation to suspend processing of a message.
Public method EndGetMessageSessions Finishes an asynchronous operation to get the processing of a message.
Public method EndPeek Finishes an asynchronous peek operation.
Public method EndPeekBatch Finishes an asynchronous peek operation on a batch of messages.
Public method EndReceive Finishes an asynchronous operation to receive a message.
Public method EndReceiveBatch Finishes an asynchronous operation to receive a batch.
Public method EndRemoveRule Ends an asynchronous remove rule operation.
Public method Equals (Inherited from Object.)
Protected method Fault For internal use only. Do not inherit from this class. (Inherited from ClientEntity.)
Protected method Finalize (Inherited from Object.)
Public method Static member FormatDeadLetterPath Builds a format name deadletter path using the specified topic path and subscription name.
Public method Static member FormatSubscriptionPath Builds a format name subscription path using the specified topic path and subscription name.
Public method GetHashCode (Inherited from Object.)
Public method GetMessageSessions() Gets a message session that allows grouping of related messages for processing in a single transaction.
Public method GetMessageSessions(DateTime) Retrieves all message sessions whose session state was updated since lastUpdatedTime.
Public method GetMessageSessionsAsync() Asynchronously gets a message session that allows grouping of related messages for processing in a single transaction.
Public method GetMessageSessionsAsync(DateTime) Asynchronously gets a message session that allows grouping of related messages for processing in a single transaction.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnAbort Executes the abort action. (Overrides ClientEntity.OnAbort().)
Protected method OnBeginAcceptMessageSession Executes upon calling the BeginAcceptMessageSession operation.
Protected method OnBeginAddRule Executes upon calling the BeginAddRule operation.
Protected method OnBeginClose Executes the begin close action. (Overrides ClientEntity.OnBeginClose(TimeSpan, AsyncCallback, Object).)
Protected method OnBeginCreateReceiver(ReceiveMode, TimeSpan, AsyncCallback, Object) Executes the begin create receiver action.
Protected method OnBeginCreateReceiver(String, String, ReceiveMode, TimeSpan, AsyncCallback, Object) Executes the begin create receiver action.
Protected method OnBeginGetMessageSessions Executes upon calling the BeginGetMessageSessions operation.
Protected method OnBeginOpen (Inherited from ClientEntity.)
Protected method OnBeginRemoveRule Begins removing a Rule from a Subscription through the run-time client protocol.
Protected method OnBeginRemoveRulesByTag Begins removing a Rule from a Subscription through the run-time client protocol using a tag.
Protected method OnClose Executes the close action. (Overrides ClientEntity.OnClose(TimeSpan).)
Protected method OnClosed (Inherited from ClientEntity.)
Protected method OnEndAcceptMessageSession Executes upon calling the EndAcceptMessageSession operation.
Protected method OnEndAddRule Ends the asynchronous call to OnBeginAddRule.
Protected method OnEndClose Executes the end close action. (Overrides ClientEntity.OnEndClose(IAsyncResult).)
Protected method OnEndCreateReceiver Executes the end create receiver action.
Protected method OnEndGetMessageSessions Executes the end get message action.
Protected method OnEndOpen (Inherited from ClientEntity.)
Protected method OnEndRemoveRule Ends the asynchronous call to OnBeginRemoveRule(String, TimeSpan, AsyncCallback, Object).
Protected method OnEndRemoveRules Ends the asynchronous call to OnBeginRemoveRule(String, TimeSpan, AsyncCallback, Object).
Protected method OnFaulted (Inherited from ClientEntity.)
Public method OnMessage(Action<BrokeredMessage>) Processes a message in an event-driven message pump.
Public method OnMessage(Action<BrokeredMessage>, OnMessageOptions) Processes a message in an event-driven message pump, with the given set of OnMessageOptions options.
Public method OnMessageAsync(Func<BrokeredMessage, Task>) Asynchronously processes a message.
Public method OnMessageAsync(Func<BrokeredMessage, Task>, OnMessageOptions) Asynchronously processes a message.
Protected method OnOpen (Inherited from ClientEntity.)
Protected method OnOpened (Inherited from ClientEntity.)
Public method Peek() Returns without removing the first message in the queue.
Public method Peek(Int64) Returns without removing the first message in the queue.
Public method PeekAsync() Asynchronously returns without removing the first message in the queue.
Public method PeekAsync(Int64) Asynchronously returns without removing the first message in the queue.
Public method PeekBatch(Int32) Returns without removing the first messages in a batch.
Public method PeekBatch(Int64, Int32) Returns without removing the first messages in a batch.
Public method PeekBatchAsync(Int32) Asynchronously returns without removing the first messages in a batch.
Public method PeekBatchAsync(Int64, Int32) Asynchronously returns without removing the first messages in a batch.
Public method Receive() Receives a message using the InternalReceiver().
Public method Receive(Int64) Receives a message using the InternalReceiver().
Public method Receive(TimeSpan) Receives a message using the InternalReceiver().
Public method ReceiveAsync() Asynchronously receives a message using the InternalReceiver().
Public method ReceiveAsync(Int64) Asynchronously receives a message using the InternalReceiver().
Public method ReceiveAsync(TimeSpan) Asynchronously receives a message using the InternalReceiver().
Public method ReceiveBatch(IEnumerable<Int64>) Receives a batch after the asynchronous operation.
Public method ReceiveBatch(Int32) Receives a batch after the asynchronous operation.
Public method ReceiveBatch(Int32, TimeSpan) Receives a batch after the asynchronous operation.
Public method ReceiveBatchAsync(IEnumerable<Int64>) Asynchronously receives a set of messages (for batch processing).
Public method ReceiveBatchAsync(Int32) Asynchronously receives a set of messages (for batch processing).
Public method ReceiveBatchAsync(Int32, TimeSpan) Asynchronously receives a set of messages (for batch processing).
Public method RegisterSessionHandler(Type) Registers the handler for the client session.
Public method RegisterSessionHandler(Type, SessionHandlerOptions) Registers the handler for the client session.
Public method RegisterSessionHandlerAsync(Type) Asynchronously registers the handler for the client session.
Public method RegisterSessionHandlerAsync(Type, SessionHandlerOptions) Asynchronously registers the handler for the client session.
Public method RegisterSessionHandlerFactory(IMessageSessionAsyncHandlerFactory, SessionHandlerOptions) Registers the handler factory for the client session.
Public method RegisterSessionHandlerFactory(IMessageSessionHandlerFactory, SessionHandlerOptions) Registers the handler factory for the client session.
Public method RegisterSessionHandlerFactoryAsync(IMessageSessionAsyncHandlerFactory, SessionHandlerOptions) Asynchronously registers the handler factory for the client session.
Public method RegisterSessionHandlerFactoryAsync(IMessageSessionHandlerFactory, SessionHandlerOptions) Asynchronously registers the handler factory for the client session.
Public method RemoveRule Removes the rule described by ruleName.
Public method RemoveRuleAsync Asynchronously removes the rule described by ruleName.
Protected method ThrowIfClosed (Inherited from ClientEntity.)
Protected method ThrowIfDisposed (Inherited from ClientEntity.)
Protected method ThrowIfDisposedOrImmutable (Inherited from ClientEntity.)
Protected method ThrowIfDisposedOrNotOpen (Inherited from ClientEntity.)
Protected method ThrowIfFaulted (Inherited from ClientEntity.)
Public method ToString (Inherited from Object.)
Top

Gruppinnehåll

Lägg till
Visa:
© 2014 Microsoft