| AkCommonResultCheck Method (HRESULT, String) |
检查 result 的值, 如果不为 S_OK 则抛出一个异常。
Namespace: Appkit.CommonAssembly: Appkit (in Appkit.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static void ResultCheck(
HRESULT result,
string msg
)
Parameters
- result
- Type: Appkit.CommonHRESULT
被检查的值。 - msg
- Type: SystemString
消息。
See Also