Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceClient.BeginSubscribe C# (CSharp) Метод

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

Initiates the asynchronous execution of the Subscribe operation.
public BeginSubscribe ( SubscribeRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.SimpleNotificationService.Model.SubscribeRequest Container for the necessary parameters to execute the Subscribe operation on AmazonSimpleNotificationServiceClient.
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 BeginSubscribe(SubscribeRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new SubscribeRequestMarshaller();
            var unmarshaller = SubscribeResponseUnmarshaller.Instance;

            return BeginInvoke<SubscribeRequest>(request, marshaller, unmarshaller,
                callback, state);
        }
AmazonSimpleNotificationServiceClient