C# 클래스 NServiceBus.TransportReceiveContext

Context containing a physical message.
상속: BehaviorContext, ITransportReceiveContext
파일 보기 프로젝트 열기: Particular/NServiceBus 1 사용 예제들

공개 메소드들

메소드 설명
AbortReceiveOperation ( ) : void

Allows the pipeline to flag that it has been aborted and the receive operation should be rolled back.

TransportReceiveContext ( IncomingMessage receivedMessage, TransportTransaction transportTransaction, CancellationTokenSource cancellationTokenSource, IBehaviorContext parentContext ) : System.Threading

Creates a new transport receive context.

메소드 상세

AbortReceiveOperation() 공개 메소드

Allows the pipeline to flag that it has been aborted and the receive operation should be rolled back.
public AbortReceiveOperation ( ) : void
리턴 void

TransportReceiveContext() 공개 메소드

Creates a new transport receive context.
public TransportReceiveContext ( IncomingMessage receivedMessage, TransportTransaction transportTransaction, CancellationTokenSource cancellationTokenSource, IBehaviorContext parentContext ) : System.Threading
receivedMessage IncomingMessage The received message.
transportTransaction TransportTransaction The transport transaction.
cancellationTokenSource System.Threading.CancellationTokenSource /// Allows the pipeline to flag that it has been aborted and the receive operation should be rolled back. /// It also allows the transport to communicate to the pipeline to abort if possible. ///
parentContext IBehaviorContext The parent context.
리턴 System.Threading