Visual Basic (Declaration) | |
---|---|
Public Shared Function ReplaceErrorDefinition( _ ByVal errNo As Integer, _ ByVal errTxt As String _ ) As Integer |
Parameters
- errNo
- HRESULT error code
- errTxt
- Description of the error code.
Return Value
S_OK or OPC_E_NOTFOUND (0xC0040011) if the error code is not yet defined.Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.x