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

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

Initiates the asynchronous execution of the Unsubscribe operation.
public BeginUnsubscribe ( UnsubscribeRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.SimpleNotificationService.Model.UnsubscribeRequest Container for the necessary parameters to execute the Unsubscribe 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 BeginUnsubscribe(UnsubscribeRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new UnsubscribeRequestMarshaller();
            var unmarshaller = UnsubscribeResponseUnmarshaller.Instance;

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