C# Класс NServiceBus.MessageMutator.MutateOutgoingTransportMessageContext

Context class for IMutateOutgoingTransportMessages.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

MutateOutgoingTransportMessageContext() публичный Метод

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
Результат System.Collections.Generic

TryGetIncomingHeaders() публичный Метод

Gets the incoming headers that initiated the current send if it exists.
public TryGetIncomingHeaders ( string>.IReadOnlyDictionary &incomingHeaders ) : bool
incomingHeaders string>.IReadOnlyDictionary
Результат bool

TryGetIncomingMessage() публичный Метод

Gets the incoming message that initiated the current send if it exists.
public TryGetIncomingMessage ( object &incomingMessage ) : bool
incomingMessage object
Результат bool