Amazon.GameLift.AmazonGameLiftClient.DescribeGameSessionsAsync C# (CSharp) Method

DescribeGameSessionsAsync() public method

Initiates the asynchronous execution of the DescribeGameSessions operation.
public DescribeGameSessionsAsync ( DescribeGameSessionsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.GameLift.Model.DescribeGameSessionsRequest Container for the necessary parameters to execute the DescribeGameSessions operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DescribeGameSessionsResponse> DescribeGameSessionsAsync(DescribeGameSessionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DescribeGameSessionsRequestMarshaller();
            var unmarshaller = DescribeGameSessionsResponseUnmarshaller.Instance;

            return InvokeAsync<DescribeGameSessionsRequest,DescribeGameSessionsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonGameLiftClient