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

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

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

            return InvokeAsync<GetInstanceRequest,GetInstanceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonLightsailClient