Esempio n. 1
0
        /// <inheritdoc/>
        public IAsyncResult BeginCreateQueue(CreateQueueRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new CreateQueueRequestMarshaller();
            var unmarshaller = CreateQueueResponseUnmarshaller.Instance;

            return BeginInvoke<CreateQueueRequest>(request, marshaller, unmarshaller,
                callback, state);
        }
Esempio n. 2
0
        /// <inheritdoc/>
        public Queue CreateQueue(CreateQueueRequest request)
        {
            var marshaller = new CreateQueueRequestMarshaller();
            var unmarshaller = CreateQueueResponseUnmarshaller.Instance;

            var response = Invoke<CreateQueueRequest, CreateQueueResponse>(request, marshaller, unmarshaller);
            return new Queue(response.QueueUrl, this);
        }
Esempio n. 3
0
 /// <inheritdoc/>
 public Queue CreateQueue(string queueName)
 {
     var request = new CreateQueueRequest {QueueName = queueName};
     return CreateQueue(request);
 }