C# 클래스 NServiceBus.StaticHeadersConfigExtensions

Extensions to the public configuration api.
파일 보기 프로젝트 열기: Particular/NServiceBus

공개 메소드들

메소드 설명
AddHeaderToAllOutgoingMessages ( this config, string key, string value ) : void

Adds a header that will be attached to all outgoing messages for this endpoint. These headers can not be changed at runtime. Use a outgoing message mutator if you need to apply headers that needs to be dynamic per message. You can also set headers explicitly for a given message using any of the Send/Reply or PublishOptions.

메소드 상세

AddHeaderToAllOutgoingMessages() 공개 정적인 메소드

Adds a header that will be attached to all outgoing messages for this endpoint. These headers can not be changed at runtime. Use a outgoing message mutator if you need to apply headers that needs to be dynamic per message. You can also set headers explicitly for a given message using any of the Send/Reply or PublishOptions.
public static AddHeaderToAllOutgoingMessages ( this config, string key, string value ) : void
config this The instance to apply the settings to.
key string The static header key.
value string The static header value.
리턴 void