Amazon.Lightsail.AmazonLightsailClient.BeginDownloadDefaultKeyPair C# (CSharp) Метод

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

Initiates the asynchronous execution of the DownloadDefaultKeyPair operation.
public BeginDownloadDefaultKeyPair ( DownloadDefaultKeyPairRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DownloadDefaultKeyPairRequest Container for the necessary parameters to execute the DownloadDefaultKeyPair operation on AmazonLightsailClient.
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 BeginDownloadDefaultKeyPair(DownloadDefaultKeyPairRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new DownloadDefaultKeyPairRequestMarshaller();
            var unmarshaller = DownloadDefaultKeyPairResponseUnmarshaller.Instance;

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