OPCDA.NET Reference Manual
OPCException Constructor(Int32,String)
See Also  Send Feedback
OpcNetBase.Net4 Assembly > OPC Namespace > OPCException Class > OPCException Constructor : OPCException Constructor(Int32,String)

rtc
HRESULT error code.
emsg
Error descripotion.

Glossary Item Box

Throws an exception of type OPCException with the HRESULT error code and error message

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal rtc As Integer, _
   ByVal emsg As String _
)
C# 
public OPCException( 
   int rtc,
   string emsg
)

Parameters

rtc
HRESULT error code.
emsg
Error descripotion.

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.