CogMarshal GetExceptionForHR Method (Int32, IntPtr)Cognex VisionPro 9.24

Namespace: Cognex.VisionPro.Implementation
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 91.0.0.0
Syntax

public static Exception GetExceptionForHR(
	int errorCode,
	IntPtr errorInfo
)

Parameters

errorCode
Type: System Int32
errorInfo
Type: System IntPtr

Return Value

Type: Exception
See Also