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

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

## 構文

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

## 定数

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

## 要件

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

## 関連項目

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


## Related topics

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