QuickOPC User's Guide and Reference
InferFromResourceUrlString Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Engine Namespace > UAPubSubTransportProfileUriStrings Class : InferFromResourceUrlString Method
The resource URL string of a PubSub connection.
Attempts to infer a transport profile URI string, given a resource URL string of a PubSub connection.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function InferFromResourceUrlString( _
   ByVal resourceUrlString As String _
) As String
'Usage
 
Dim resourceUrlString As String
Dim value As String
 
value = UAPubSubTransportProfileUriStrings.InferFromResourceUrlString(resourceUrlString)
[NotNull()]
public static string InferFromResourceUrlString( 
   string resourceUrlString
)
[NotNull()]
public:
static String^ InferFromResourceUrlString( 
   String^ resourceUrlString
) 

Parameters

resourceUrlString
The resource URL string of a PubSub connection.

Return Value

Returns the transport profile URI string inferred from the resourceUrlString, or an empty string if the transport profile cannot be inferred.
Remarks

Explanation of terms:

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