C# 클래스 NServiceBus.MessageMutator.MutateOutgoingMessageContext

Provides ways to mutate the outgoing message instance.
파일 보기 프로젝트 열기: Particular/NServiceBus 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

MutateOutgoingMessageContext() 공개 메소드

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
리턴 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