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

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

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

            return InvokeAsync<RebootInstanceRequest,RebootInstanceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonLightsailClient