NServiceBus.OutgoingReplyContext.OutgoingReplyContext C# (CSharp) Method

OutgoingReplyContext() public method

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

            parentContext.Extensions.Merge(options.Context);
        }
OutgoingReplyContext