Amazon.CloudWatch.AmazonCloudWatchClient.BeginGetMetricStatistics C# (CSharp) Метод

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

Initiates the asynchronous execution of the GetMetricStatistics operation.
public BeginGetMetricStatistics ( GetMetricStatisticsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CloudWatch.Model.GetMetricStatisticsRequest Container for the necessary parameters to execute the GetMetricStatistics operation on AmazonCloudWatchClient.
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 BeginGetMetricStatistics(GetMetricStatisticsRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new GetMetricStatisticsRequestMarshaller();
            var unmarshaller = GetMetricStatisticsResponseUnmarshaller.Instance;

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