C# Class NServiceBus.MessageMutator.MutateOutgoingTransportMessageContext

Context class for IMutateOutgoingTransportMessages.
Afficher le fichier Open project: Particular/NServiceBus Class Usage Examples

Méthodes publiques

Méthode Description
MutateOutgoingTransportMessageContext ( byte outgoingBody, object outgoingMessage, string>.Dictionary outgoingHeaders, object incomingMessage, string>.IReadOnlyDictionary incomingHeaders ) : System.Collections.Generic

Initializes a new instance of MutateOutgoingTransportMessageContext.

TryGetIncomingHeaders ( string>.IReadOnlyDictionary &incomingHeaders ) : bool

Gets the incoming headers that initiated the current send if it exists.

TryGetIncomingMessage ( object &incomingMessage ) : bool

Gets the incoming message that initiated the current send if it exists.

Method Details

MutateOutgoingTransportMessageContext() public méthode

Initializes a new instance of MutateOutgoingTransportMessageContext.
public MutateOutgoingTransportMessageContext ( byte outgoingBody, object outgoingMessage, string>.Dictionary outgoingHeaders, object incomingMessage, string>.IReadOnlyDictionary incomingHeaders ) : System.Collections.Generic
outgoingBody byte
outgoingMessage object
outgoingHeaders string>.Dictionary
incomingMessage object
incomingHeaders string>.IReadOnlyDictionary
Résultat System.Collections.Generic

TryGetIncomingHeaders() public méthode

Gets the incoming headers that initiated the current send if it exists.
public TryGetIncomingHeaders ( string>.IReadOnlyDictionary &incomingHeaders ) : bool
incomingHeaders string>.IReadOnlyDictionary
Résultat bool

TryGetIncomingMessage() public méthode

Gets the incoming message that initiated the current send if it exists.
public TryGetIncomingMessage ( object &incomingMessage ) : bool
incomingMessage object
Résultat bool