QuickOPC User's Guide and Reference
AsClient Method (EasyUASpecializedClient)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > EasyUASpecializedClient Class : AsClient Method
Allows treating the specialized client as normal OPC UA client object.
Syntax
'Declaration
 
Public Function AsClient() As IEasyUAClient
'Usage
 
Dim instance As EasyUASpecializedClient
Dim value As IEasyUAClient
 
value = instance.AsClient()
public IEasyUAClient AsClient()
public:
IEasyUAClient^ AsClient(); 

Return Value

Returns the client object upon which this specialized client is based.
Remarks

For specialized clients created by derivation from IEasyUAClient(the AsXXXX methods), the result is the original client object. For stand-alone specialized clients, the results is an internal client object that the specialized client has created for its operations.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also