Initiates the asynchronous execution of the EnableMetricsCollection operation.
Declaration Syntax
C# |
IAsyncResult BeginEnableMetricsCollection( EnableMetricsCollectionRequest enableMetricsCollectionRequest, AsyncCallback callback, Object state )
Parameters
- enableMetricsCollectionRequest (EnableMetricsCollectionRequest)
- Container for the necessary parameters to execute the EnableMetricsCollection operation on AmazonAutoScaling.
- 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.