> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MatchmakingTicket.Context

> MatchmakingTicket.Context

# MatchmakingTicket.Context property

The custom context of the matchmaking ticket

```csharp theme={null}
public object Context { get; set; }
```

## get

Retrieves the app's private, custom pointer-sized context value previously associated with this matchmaking ticket object.

## set

Configures an optional, custom pointer-sized context value with this matchmaking ticket object.

## Remarks

If no custom context has been set yet, the value is set to nullptr.

The custom context is typically used as a "shortcut" that simplifies accessing local, title-specific memory
associated with the matchmaking ticket without requiring a mapping lookup.

## See Also

* class [MatchmakingTicket](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/MatchmakingTicket/overview)
* namespace [PlayFab.Multiplayer](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference)

\<!-- DO NOT EDIT: generated by xmldocmd for PlayFabMultiplayerSDK.dll -->


## Related topics

- [MatchmakingTicket.Cancel](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/MatchmakingTicket/Cancel.md)
- [MatchmakingTicket.Status](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/MatchmakingTicket/Status.md)
- [MatchmakingTicket.TicketId](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/MatchmakingTicket/TicketId.md)
- [MatchmakingTicket.GetMatchDetails](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/MatchmakingTicket/GetMatchDetails.md)
- [Real-time messages for Lobby and Matchmaking APIs](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/MatchmakingTicket/overview.md)
