Метод | Описание | |
---|---|---|
ApplyLabelToMessages ( this |
Set a delegate to use for applying the Message.Label property when sending a message. This delegate will be used for all valid messages sent via MSMQ. This includes, not just standard messages, but also Audits, Errors and all control messages. In some cases it may be useful to use the Headers.ControlMessageHeader key to determine if a message is a control message. The only exception to this rule is received messages with corrupted headers. These messages will be forwarded to the error queue with no label applied. |
|
InstanceMappingFile ( this |
Returns the configuration options for the file based instance mapping file.
|
|
SetMessageDistributionStrategy ( this |
Sets a distribution strategy for a given endpoint.
|
|
TransactionScopeOptions ( this |
Allows to change the transaction isolation level and timeout for the `TransactionScope` used to receive messages. If not specified the default transaction timeout of the machine will be used and the isolation level will be set to `ReadCommited`. |
public static ApplyLabelToMessages ( this |
||
transportExtensions | this |
|
labelGenerator | string>.Func | |
Результат | TransportExtensions |
public static InstanceMappingFile ( this |
||
config | this |
|
Результат |
public static SetMessageDistributionStrategy ( this |
||
config | this |
Config object. |
distributionStrategy | DistributionStrategy | The instance of a distribution strategy. |
Результат | void |
public static TransactionScopeOptions ( this |
||
transportExtensions | this |
|
timeout | System.TimeSpan | |
isolationLevel | IsolationLevel | |
Результат | TransportExtensions |