NServiceBus.OutgoingSendContext.OutgoingSendContext C# (CSharp) Method

OutgoingSendContext() public method

public OutgoingSendContext ( OutgoingLogicalMessage message, SendOptions options, IBehaviorContext parentContext ) : System.Collections.Generic
message OutgoingLogicalMessage
options SendOptions
parentContext IBehaviorContext
return System.Collections.Generic
        public OutgoingSendContext(OutgoingLogicalMessage message, SendOptions options, IBehaviorContext parentContext)
            : base(options.MessageId, new Dictionary<string, string>(options.OutgoingHeaders), parentContext)
        {
            Guard.AgainstNull(nameof(parentContext), parentContext);
            Guard.AgainstNull(nameof(message), message);
            Guard.AgainstNull(nameof(options), options);

            Message = message;

            Merge(options.Context);
        }
OutgoingSendContext