> ## 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](https://devdocs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/MatchmakingTicket/overview.md)
* namespace [PlayFab.Multiplayer](https://devdocs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference.md)

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


## Related topics

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