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

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

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

            return InvokeAsync<CreatePlayerSessionsRequest,CreatePlayerSessionsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonGameLiftClient::CreatePlayerSessionsAsync ( string gameSessionId, List playerIds, System cancellationToken = default(CancellationToken) ) : Task
AmazonGameLiftClient