C# 클래스 EducationPathways.ServiceBus.TopicSender

Implements an asynchronous sender of messages to a Windows Azure Service Bus topic.
상속: IMessageSender
파일 보기 프로젝트 열기: pebblecode/EducationPathways 1 사용 예제들

공개 메소드들

메소드 설명
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