OPCHDA.NET Reference Manual
GetErrorString(Int32,String) Method
See Also  Send Feedback
OpcHDAWrapperUA.Net4 Assembly > OPCHDA.NET Namespace > OpcHDAServer Class > GetErrorString Method : GetErrorString(Int32,String) Method

error
HRESULTS error code
errText
OUT: error description string

Glossary Item Box

Return the description for the specified error. If any error occurs a ThrowExceptionForHR is thrown.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetErrorString( _
   ByVal error As Integer, _
   ByRef errText As String _
) As Integer
C# 
public int GetErrorString( 
   int error,
   out string errText
)

Parameters

error
HRESULTS error code
errText
OUT: error description string

Return Value

S_OK or E_FAIL

Requirements

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

See Also

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