Amazon.ServerMigrationService.AmazonServerMigrationServiceClient.ImportServerCatalogAsync C# (CSharp) Метод

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

Initiates the asynchronous execution of the ImportServerCatalog operation.
public ImportServerCatalogAsync ( ImportServerCatalogRequest request, System cancellationToken = default(CancellationToken) ) : Task
request ImportServerCatalogRequest Container for the necessary parameters to execute the ImportServerCatalog operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<ImportServerCatalogResponse> ImportServerCatalogAsync(ImportServerCatalogRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ImportServerCatalogRequestMarshaller();
            var unmarshaller = ImportServerCatalogResponseUnmarshaller.Instance;

            return InvokeAsync<ImportServerCatalogRequest,ImportServerCatalogResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }