Use the ErrorInfo.Value property to get the error constant associated with an ErrorInfo object. Most UL for .NET methods return an ErroInfo object. If an error occurs, an ErroInfo object is returned with a non-zero value in the Value property.
Member of the ErrorInfo class.
VB .NET
Public ReadOnly Property Value As MccDaq.ErrorInfo.ErrorCode
C# .NET
public MccDaq.ErrorInfo.ErrorCode Value [get]