OPCDA.NET Reference Manual
getExceptionHRresult Method
See Also  Send Feedback
OpcNetBase.Net4 Assembly > OPC Namespace > ErrorDescriptions Class : getExceptionHRresult Method

ex
Exception object

Glossary Item Box

Returns the private HResult field from an Exception object

Syntax

Visual Basic (Declaration) 
Public Shared Function getExceptionHRresult( _
   ByVal ex As Exception _
) As Integer
C# 
public static int getExceptionHRresult( 
   Exception ex
)

Parameters

ex
Exception object

Return Value

The HResult code from the Exception HResult field.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.