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

BeginCreateGameSession() public method

Initiates the asynchronous execution of the CreateGameSession operation.
public BeginCreateGameSession ( CreateGameSessionRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.GameLift.Model.CreateGameSessionRequest Container for the necessary parameters to execute the CreateGameSession operation on AmazonGameLiftClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult
        public IAsyncResult BeginCreateGameSession(CreateGameSessionRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new CreateGameSessionRequestMarshaller();
            var unmarshaller = CreateGameSessionResponseUnmarshaller.Instance;

            return BeginInvoke<CreateGameSessionRequest>(request, marshaller, unmarshaller,
                callback, state);
        }
AmazonGameLiftClient