OPC Studio User's Guide and Reference
TransportAlwaysSubscribesToJson Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UAPubSubUtilities Class : TransportAlwaysSubscribesToJson Method
The transport profile URI string.

The value of this parameter cannot be null (Nothing in Visual Basic).

Determines whether the transport profile URI string always subscribes to JSON message mapping.
Syntax
'Declaration
 
Public Shared Function TransportAlwaysSubscribesToJson( _
   ByVal transportProfileUriString As String _
) As Boolean
'Usage
 
Dim transportProfileUriString As String
Dim value As Boolean
 
value = UAPubSubUtilities.TransportAlwaysSubscribesToJson(transportProfileUriString)
public static bool TransportAlwaysSubscribesToJson( 
   string transportProfileUriString
)
public:
static bool TransportAlwaysSubscribesToJson( 
   String^ transportProfileUriString
) 

Parameters

transportProfileUriString
The transport profile URI string.

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

Returns true if the transport profile URI string always subscribes to JSON message mapping; returns false otherwise.
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