OPC Studio User's Guide and Reference
AsClient Method (IEasyUASpecializedClient)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > IEasyUASpecializedClient Interface : AsClient Method
Returns the client object upon which this specialized client is built.
Syntax
'Declaration
 
<NotNullAttribute()>
Function AsClient() As IEasyUAClient
'Usage
 
Dim instance As IEasyUASpecializedClient
Dim value As IEasyUAClient
 
value = instance.AsClient()
[NotNull()]
IEasyUAClient AsClient()
[NotNull()]
IEasyUAClient^ AsClient(); 

Return Value

The client object upon which this specialized client is built.
Exceptions
ExceptionDescription
An invoked method is not supported at all, or is not supported with the parameters used to create the object.
Remarks

If the specialized client object has been derived from a general-purpose client, this method returns the original general-purpose client object used in derivation. If the specialized client object is standalone, this method returns the internal general-purpose client object used by this specialized client.

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