Amazon.ApplicationDiscoveryService.AmazonApplicationDiscoveryServiceClient.ListServerNeighborsAsync C# (CSharp) Method

ListServerNeighborsAsync() public method

Initiates the asynchronous execution of the ListServerNeighbors operation.
public ListServerNeighborsAsync ( ListServerNeighborsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationDiscoveryService.Model.ListServerNeighborsRequest Container for the necessary parameters to execute the ListServerNeighbors operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<ListServerNeighborsResponse> ListServerNeighborsAsync(ListServerNeighborsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ListServerNeighborsRequestMarshaller();
            var unmarshaller = ListServerNeighborsResponseUnmarshaller.Instance;

            return InvokeAsync<ListServerNeighborsRequest,ListServerNeighborsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonApplicationDiscoveryServiceClient