コード例 #1
0
        /// <summary>
        /// Sets the <see cref="InException.Operation"/> based on the configuration in the specified <paramref name="exceptionHandling"/>.
        /// </summary>
        /// <param name="exceptionHandling">The exception handling of the <see cref="ReceivingProcessingMode"/></param>
        public InException SetOperationFor(ReceiveHandling exceptionHandling)
        {
            bool needsToBeNotified = exceptionHandling?.NotifyMessageConsumer == true;

            Operation = needsToBeNotified ? Operation.ToBeNotified : default(Operation);
            return(this);
        }
コード例 #2
0
 public ReceivingProcessingMode()
 {
     Reliability       = new ReceiveReliability();
     ReplyHandling     = new ReplyHandling();
     ExceptionHandling = new ReceiveHandling();
     Security          = new ReceiveSecurity();
     MessagePackaging  = new MessagePackaging();
     MessageHandling   = new MessageHandling();
 }