Пример #1
0
        public async Task TestSendSimpleMessage()
        {
            Exception exception = null;

            try
            {
                // Create a new message to send to the queue.
                string messageBody = "Hello Message";

                // Send the message to the queue.
                await queueClient.SendCompressorAsync(messageBody);
            }
            catch (Exception ex)
            {
                exception = ex;
            }
            Assert.IsNull(exception);
        }