Amazon.EC2.AmazonEC2Client.BeginCreateSpotDatafeedSubscription C# (CSharp) Method

BeginCreateSpotDatafeedSubscription() public method

Initiates the asynchronous execution of the CreateSpotDatafeedSubscription operation.
public BeginCreateSpotDatafeedSubscription ( CreateSpotDatafeedSubscriptionRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.EC2.Model.CreateSpotDatafeedSubscriptionRequest Container for the necessary parameters to execute the CreateSpotDatafeedSubscription operation on AmazonEC2Client.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult
        public IAsyncResult BeginCreateSpotDatafeedSubscription(CreateSpotDatafeedSubscriptionRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new CreateSpotDatafeedSubscriptionRequestMarshaller();
            var unmarshaller = CreateSpotDatafeedSubscriptionResponseUnmarshaller.Instance;

            return BeginInvoke<CreateSpotDatafeedSubscriptionRequest>(request, marshaller, unmarshaller,
                callback, state);
        }
AmazonEC2Client