Reference
OpcClientInterfaces Members
Defines additional options to be used for the different interfaces consumed by the OpcClient.
Reference
OpcClientInterfaces Members
- Type
- OpcClientInterfaces
- Namespace
- Opc.UaFx.Client
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Properties
DataAccess
Gets an instance which can be used to configure the communication with the data access layer.
public OpcClassicDataAccessOptions DataAccess { get; }Public ReadOnly Property DataAccess As OpcClassicDataAccessOptionsProperty value
An instance of the OpcClassicDataAccessOptions class.
UseBreakMonitoring
Gets or sets a value that indicates whether the connection with the OPC Classic server is monitored for breaks (in case of DCOM connections).
public bool UseBreakMonitoring { get; set; }Public Property UseBreakMonitoring As BooleanProperty value
true to enable break monitoring, false to disable it. The default value is false.
Remarks
By enabling this option, the DCOM connection state to the OPC Classic server will be replicated on the OpcClient instance (by temporarily stopping the UA wrapper server), so that State indicates the current connection state.
A connection break is detected by calling IOPCServer.GetStatus() and checking for HResult 0x800706BA (Win32 error RPC_S_SERVER_UNAVAILABLE). In that case, the UA Wrapper Server will stop, so that the OpcClient's state will change in order to indicate a connection loss. Once a new, functional instance of the OPC Classic server can be created, the wrapper server will start again.
The mechanism is disabled by default because it requires to create a second instance of the COM object for the OPC Classic server (in addition to the one created by the UA Wrapper server), which could have unintended side effects on some servers.

