Exemple #1
0
        public static async Task <TestSendResponse> Process_Complete10(TestSendRequest request, CancellationToken cancellationToken)
        {
            request.Visitor.Add(ServicingOrder.Complete.ToString());
            await Task.Delay(10 * 1000, cancellationToken);

            return(new TestSendResponse()
            {
                Response = ServicingOrder.Complete.ToString()
            });
        }
Exemple #2
0
 public static async Task <TestSendResponse> Process_Processing_Exception(TestSendRequest request, CancellationToken cancellationToken)
 {
     request.Visitor.Add(ServicingOrder.Processing.ToString());
     throw new NullReferenceException("Test");
 }