Esempio n. 1
0
 protected void SubmitMessage(MessageItem message, ProxyAddress sender, IEnumerable <Participant> recipients)
 {
     this.context.TraceDebug <string>("Submitting message with subject {0}", message.Subject);
     this.AppendRuleHistory(message);
     using (ISubmissionItem submissionItem = this.Context.GenerateSubmissionItem(message, this))
     {
         submissionItem.Submit(sender, recipients);
     }
 }
Esempio n. 2
0
 protected void SubmitMessage(MessageItem message)
 {
     this.context.TraceDebug <string>("Submitting message with subject {0}", message.Subject);
     this.AppendRuleHistory(message);
     using (ISubmissionItem submissionItem = this.Context.GenerateSubmissionItem(message, this))
     {
         submissionItem.Submit();
     }
 }