C# Class EducationPathways.ServiceBus.TopicSender

Implements an asynchronous sender of messages to a Windows Azure Service Bus topic.
Inheritance: IMessageSender
Afficher le fichier Open project: pebblecode/EducationPathways Class Usage Examples

Méthodes publiques

Méthode Description
Send ( Func messageFactory ) : void
SendAsync ( Func messageFactory ) : void

Asynchronously sends the specified message.

SendAsync ( Func messageFactory, System.Action successCallback, Action exceptionCallback ) : void
SendAsync ( IEnumerable messageFactories ) : void
TopicSender ( ServiceBusSettings settings, string topic ) : System

Initializes a new instance of the TopicSender class, automatically creating the given topic if it does not exist.

Méthodes protégées

Méthode Description
DoBeginSendMessage ( BrokeredMessage message, AsyncCallback ac ) : void
DoEndSendMessage ( IAsyncResult ar ) : void
TopicSender ( ServiceBusSettings settings, string topic, Microsoft.Practices.TransientFaultHandling.RetryStrategy retryStrategy ) : System

Initializes a new instance of the TopicSender class, automatically creating the given topic if it does not exist.

Method Details

DoBeginSendMessage() protected méthode

protected DoBeginSendMessage ( BrokeredMessage message, AsyncCallback ac ) : void
message BrokeredMessage
ac AsyncCallback
Résultat void

DoEndSendMessage() protected méthode

protected DoEndSendMessage ( IAsyncResult ar ) : void
ar IAsyncResult
Résultat void

Send() public méthode

public Send ( Func messageFactory ) : void
messageFactory Func
Résultat void

SendAsync() public méthode

Asynchronously sends the specified message.
public SendAsync ( Func messageFactory ) : void
messageFactory Func
Résultat void

SendAsync() public méthode

public SendAsync ( Func messageFactory, System.Action successCallback, Action exceptionCallback ) : void
messageFactory Func
successCallback System.Action
exceptionCallback Action
Résultat void

SendAsync() public méthode

public SendAsync ( IEnumerable messageFactories ) : void
messageFactories IEnumerable
Résultat void

TopicSender() public méthode

Initializes a new instance of the TopicSender class, automatically creating the given topic if it does not exist.
public TopicSender ( ServiceBusSettings settings, string topic ) : System
settings ServiceBusSettings
topic string
Résultat System

TopicSender() protected méthode

Initializes a new instance of the TopicSender class, automatically creating the given topic if it does not exist.
protected TopicSender ( ServiceBusSettings settings, string topic, Microsoft.Practices.TransientFaultHandling.RetryStrategy retryStrategy ) : System
settings ServiceBusSettings
topic string
retryStrategy Microsoft.Practices.TransientFaultHandling.RetryStrategy
Résultat System