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

# XblDisableAssertsForXboxLiveThrottlingInDevSandboxes

> XblDisableAssertsForXboxLiveThrottlingInDevSandboxes

# XblDisableAssertsForXboxLiveThrottlingInDevSandboxes

在开发沙盒中禁用针对 XBOX Live 限流的断言。

## 语法

```cpp theme={null}
void XblDisableAssertsForXboxLiveThrottlingInDevSandboxes(  
         XblConfigSetting setting  
)  
```

### 参数

*setting*   \_In\_\
类型：[XblConfigSetting](/reference/live/xsapi-c/xbox_live_global_c/enums/xblconfigsetting)

要传递的配置设置值。

### 返回值

类型：void

此 API 操作的 HRESULT 返回代码。

## 备注

断言在 RETAIL 沙盒中不会触发，此设置对 RETAIL 沙盒无影响。最佳做法是不调用此 API，而是调整调用模式，但此 API 作为一种临时方式提供，可让你在游戏开发早期阶段避免阻塞。

## 要求

**头文件：** xbox\_live\_global\_c.h

**库：** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另请参阅

[xbox\_live\_global\_c](/reference/live/xsapi-c/xbox_live_global_c/xbox_live_global_c_members)
