Amazon.EC2.AmazonEC2Client.GetConsoleScreenshotAsync C# (CSharp) Méthode

GetConsoleScreenshotAsync() public méthode

Initiates the asynchronous execution of the GetConsoleScreenshot operation.
public GetConsoleScreenshotAsync ( GetConsoleScreenshotRequest request, System cancellationToken = default(CancellationToken) ) : Task
request GetConsoleScreenshotRequest Container for the necessary parameters to execute the GetConsoleScreenshot operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Résultat Task
        public Task<GetConsoleScreenshotResponse> GetConsoleScreenshotAsync(GetConsoleScreenshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetConsoleScreenshotRequestMarshaller();
            var unmarshaller = GetConsoleScreenshotResponseUnmarshaller.Instance;

            return InvokeAsync<GetConsoleScreenshotRequest,GetConsoleScreenshotResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client