Amazon.GameLift.AmazonGameLiftClient.SearchGameSessionsAsync C# (CSharp) Метод

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

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

            return InvokeAsync<SearchGameSessionsRequest,SearchGameSessionsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonGameLiftClient