Amazon.Redshift.AmazonRedshiftClient.BeginCreateEventSubscription C# (CSharp) Метод

BeginCreateEventSubscription() публичный Метод

Initiates the asynchronous execution of the CreateEventSubscription operation.
public BeginCreateEventSubscription ( CreateEventSubscriptionRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.Redshift.Model.CreateEventSubscriptionRequest Container for the necessary parameters to execute the CreateEventSubscription operation on AmazonRedshiftClient.
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.
Результат IAsyncResult
        public IAsyncResult BeginCreateEventSubscription(CreateEventSubscriptionRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new CreateEventSubscriptionRequestMarshaller();
            var unmarshaller = CreateEventSubscriptionResponseUnmarshaller.Instance;

            return BeginInvoke<CreateEventSubscriptionRequest>(request, marshaller, unmarshaller,
                callback, state);
        }
AmazonRedshiftClient