Exemplo n.º 1
0
        public async Task <ActionResult> RequestReplyOperation_ThrowsExceptionAsync()
        {
            string message = string.Empty;

            try
            {
                SampleServiceClient client = new SampleServiceClient();
                await client.RequestReplyOperation_ThrowsExceptionAsync();
            }
            catch (Exception ex)
            {
                message = $"Request-Reply Throws Exception Operation Completed @ {DateTime.Now} {ex.Message}";
            }

            return(PartialView("RequestReplyOperation_ThrowsException", message));
        }