SetErrorCode
Function Usage
Records error codes generated in asynchronous tasks.
The API records the first and last error codes, which can be obtained by calling GetErrorCode.
Prototype
1 | void AscendStream::SetErrorCode(APP_ERROR errCode); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
errCode |
Input |
Error code. The error code generated in a single time is recorded. |
Parent topic: AscendStream