Click or drag to resize
AkCommonResultCheck Method (HRESULT, String)
检查 result 的值, 如果不为 S_OK 则抛出一个异常。

Namespace: Appkit.Common
Assembly: Appkit (in Appkit.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C#
public static void ResultCheck(
	HRESULT result,
	string msg
)

Parameters

result
Type: Appkit.CommonHRESULT
被检查的值。
msg
Type: SystemString
消息。
See Also