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

# XAsync（API 内容）

> XAsync

# XAsync

XAsync API 的参考资料。

## 函数

| 函数 | 说明 |
| - | - |
| [XAsyncCancel](https://docs.xbox.com/zh-CN/reference/system/xasync/functions/xasynccancel.md) | 尝试取消一个异步调用。 |
| [XAsyncCompletionRoutine](https://docs.xbox.com/zh-CN/reference/system/xasync/functions/xasynccompletionroutine.md) | 表示异步调用的完成回调。 |
| [XAsyncGetResultSize](https://docs.xbox.com/zh-CN/reference/system/xasync/functions/xasyncgetresultsize.md) | 返回要传递给 [XAsyncGetResult](https://docs.xbox.com/zh-CN/reference/system/xasyncprovider/functions/xasyncgetresult.md) 的缓冲区所需的大小。 |
| [XAsyncGetStatus](https://docs.xbox.com/zh-CN/reference/system/xasync/functions/xasyncgetstatus.md) | 返回异步调用的状态，可选择等待其完成。 |
| [XAsyncRun](https://docs.xbox.com/zh-CN/reference/system/xasync/functions/xasyncrun.md) | 异步运行指定的回调函数。 |
| [XAsyncWork](https://docs.xbox.com/zh-CN/reference/system/xasync/functions/xasyncwork.md) | 表示由 [XAsyncRun](https://docs.xbox.com/zh-CN/reference/system/xasync/functions/xasyncrun.md) 调用的回调函数。 |

## 结构体

| 结构体 | 说明 |
| - | - |
| [XAsyncBlock](https://docs.xbox.com/zh-CN/reference/system/xasync/structs/xasyncblock.md) | 表示异步调用的生存期。 |

## Conceptual documentation

* [XAsync 库概述](https://docs.xbox.com/zh-CN/build/core-features/common/async/async-libraries/async-library-xasync.md)

## See also

[系统 API 参考](https://docs.xbox.com/zh-CN/reference/system/gc-reference-system-toc.md)\
[异步编程的设计目标和改进](https://docs.xbox.com/zh-CN/build/core-features/common/async/async-whitepaper.md)\
[异步编程模型](https://docs.xbox.com/zh-CN/build/core-features/common/async/async-programming-model.md)


## Related topics

- [XAsync 库概述](https://docs.xbox.com/zh-CN/build/core-features/common/async/async-libraries/async-library-xasync.md)
- [运行 Microsoft Game Development Kit (GDK) API 任务](https://docs.xbox.com/zh-CN/build/core-features/common/async/async-libraries/async-library-xasync-example-run-gdk-task.md)
- [设置异步任务示例](https://docs.xbox.com/zh-CN/build/core-features/common/async/async-libraries/async-library-xasync-example-setup-async-task.md)
- [运行简单任务示例](https://docs.xbox.com/zh-CN/build/core-features/common/async/async-libraries/async-library-xasync-example-run-simple-task.md)
- [异步编程模型](https://docs.xbox.com/zh-CN/build/core-features/common/async/async-programming-model.md)
