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

# XblPreserveSessionMode

> XblPreserveSessionMode

# XblPreserveSessionMode

マッチ チケットが新しいゲーム セッション用か、既存のセッション用かを示すために使用する値を定義します。

## 構文

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

## 定数

| 定数 | 説明 |
| - | - |
| Unknown | サーバーが認識できない応答を返しました。 |
| Always | 常に既存のゲーム セッションを使用します。これは、既に作成済みまたは進行中のゲーム セッションに対して、さらにプレイヤーをマッチングするためのものです。 |
| Never | 既存のゲーム セッションを使用しません。これは、新しいゲーム セッションのプレイヤーをマッチングするためのものです。 |

## 要件

**ヘッダー:** matchmaking\_c.h

## 関連項目

[matchmaking\_c](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members.md)


## Related topics

- [XblMatchTicketDetailsResponse](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/matchmaking_c/structs/xblmatchticketdetailsresponse.md)
- [XblMatchmakingCreateMatchTicketAsync](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakingcreatematchticketasync.md)
- [matchmaking_c](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members.md)
- [SmartMatch マッチメイキングの使用](https://docs.xbox.com/ja-jp/services/xbox-services/multiplayer/matchmaking/concepts/live-matchmaking-how-tos.md)
- [XblMultiplayerSessionWriteMode](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/multiplayer_c/enums/xblmultiplayersessionwritemode.md)
