C# Class NServiceBus.TransportReceiveContext

Context containing a physical message.
Inheritance: BehaviorContext, ITransportReceiveContext
Afficher le fichier Open project: Particular/NServiceBus Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

AbortReceiveOperation() public méthode

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

TransportReceiveContext() public méthode

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.
Résultat System.Threading