C# Class NServiceBus.MessageMutator.MutateOutgoingMessageContext

Provides ways to mutate the outgoing message instance.
Afficher le fichier Open project: Particular/NServiceBus Class Usage Examples

Méthodes publiques

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

Initializes the context.

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

MutateOutgoingMessageContext() public méthode

Initializes the context.
public MutateOutgoingMessageContext ( object outgoingMessage, string>.Dictionary outgoingHeaders, object incomingMessage, string>.IReadOnlyDictionary incomingHeaders ) : System.Collections.Generic
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