Amazon.ServiceCatalog.AmazonServiceCatalogClient.AssociatePrincipalWithPortfolioAsync C# (CSharp) Метод

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

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

            return InvokeAsync<AssociatePrincipalWithPortfolioRequest,AssociatePrincipalWithPortfolioResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonServiceCatalogClient