Amazon.Rekognition.AmazonRekognitionClient.ListCollectionsAsync C# (CSharp) Méthode

ListCollectionsAsync() public méthode

Initiates the asynchronous execution of the ListCollections operation.
public ListCollectionsAsync ( ListCollectionsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Rekognition.Model.ListCollectionsRequest Container for the necessary parameters to execute the ListCollections operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Résultat Task
        public Task<ListCollectionsResponse> ListCollectionsAsync(ListCollectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ListCollectionsRequestMarshaller();
            var unmarshaller = ListCollectionsResponseUnmarshaller.Instance;

            return InvokeAsync<ListCollectionsRequest,ListCollectionsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }