Amazon.CodeDeploy.AmazonCodeDeployClient.RegisterOnPremisesInstanceAsync C# (CSharp) Метод

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

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

            return InvokeAsync<RegisterOnPremisesInstanceRequest,RegisterOnPremisesInstanceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCodeDeployClient