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

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

Initiates the asynchronous execution of the StartInstance operation.
public StartInstanceAsync ( StartInstanceRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Lightsail.Model.StartInstanceRequest Container for the necessary parameters to execute the StartInstance operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<StartInstanceResponse> StartInstanceAsync(StartInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new StartInstanceRequestMarshaller();
            var unmarshaller = StartInstanceResponseUnmarshaller.Instance;

            return InvokeAsync<StartInstanceRequest,StartInstanceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonLightsailClient