> ## 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.

# XblPreserveSessionMode

> XblPreserveSessionMode

# XblPreserveSessionMode

Define los valores que se usan para indicar si un vale de partida es para una nueva sesión de juego o para una sesión existente.

## Sintaxis

```cpp theme={null}
enum class XblPreserveSessionMode  : uint32_t  
{  
    Unknown,  
    Always,  
    Never  
}  
```

## Constantes

| Constante | Descripción                                                                                                                               |
| --------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| Unknown   | El servidor devolvió una respuesta no reconocida.                                                                                         |
| Always    | Usar siempre una sesión de juego existente. Esto sirve para emparejar más jugadores en una sesión de juego que ya está creada o en curso. |
| Never     | No usar nunca una sesión de juego existente. Esto sirve para emparejar jugadores en una nueva sesión de juego.                            |

## Requisitos

**Encabezado:** matchmaking\_c.h

## Consulte también

[matchmaking\_c](/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members)


## Related topics

- [XblMatchTicketDetailsResponse](/es/reference/live/xsapi-c/matchmaking_c/structs/xblmatchticketdetailsresponse.md)
- [XblMatchmakingCreateMatchTicketAsync](/es/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakingcreatematchticketasync.md)
- [Uso del emparejamiento de SmartMatch](/es/services/xbox-services/multiplayer/matchmaking/concepts/live-matchmaking-how-tos.md)
- [XblMultiplayerSessionWriteMode](/es/reference/live/xsapi-c/multiplayer_c/enums/xblmultiplayersessionwritemode.md)
- [XblMultiplayerSessionSetMatchmakingServerConnectionPath](/es/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsetmatchmakingserverconnectionpath.md)
