C# Класс EducationPathways.ServiceBus.TopicSender

Implements an asynchronous sender of messages to a Windows Azure Service Bus topic.
Наследование: IMessageSender
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Описание методов

DoBeginSendMessage() защищенный Метод

protected DoBeginSendMessage ( BrokeredMessage message, AsyncCallback ac ) : void
message BrokeredMessage
ac AsyncCallback
Результат void

DoEndSendMessage() защищенный Метод

protected DoEndSendMessage ( IAsyncResult ar ) : void
ar IAsyncResult
Результат void

Send() публичный Метод

public Send ( Func messageFactory ) : void
messageFactory Func
Результат void

SendAsync() публичный Метод

Asynchronously sends the specified message.
public SendAsync ( Func messageFactory ) : void
messageFactory Func
Результат void

SendAsync() публичный Метод

public SendAsync ( Func messageFactory, System.Action successCallback, Action exceptionCallback ) : void
messageFactory Func
successCallback System.Action
exceptionCallback Action
Результат void

SendAsync() публичный Метод

public SendAsync ( IEnumerable messageFactories ) : void
messageFactories IEnumerable
Результат void

TopicSender() публичный Метод

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
Результат System

TopicSender() защищенный Метод

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
Результат System