public void CreateQueueAsync(CreateQueueRequest request, AmazonServiceCallback<CreateQueueRequest, CreateQueueResponse> callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var marshaller = new CreateQueueRequestMarshaller();
var unmarshaller = CreateQueueResponseUnmarshaller.Instance;
Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult<CreateQueueRequest,CreateQueueResponse> responseObject
= new AmazonServiceResult<CreateQueueRequest,CreateQueueResponse>((CreateQueueRequest)req, (CreateQueueResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke<CreateQueueRequest>(request, marshaller, unmarshaller, options, callbackHelper);
}