C# Class NServiceBus.MessageMutator.MutateOutgoingTransportMessageContext

Context class for IMutateOutgoingTransportMessages.
Show file Open project: Particular/NServiceBus Class Usage Examples

Public Methods

Method 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 method

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
return System.Collections.Generic

TryGetIncomingHeaders() public method

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

TryGetIncomingMessage() public method

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