QuickOPC User's Guide and Reference
InferFromResourceUrl Method



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

Parameters

resourceUrl
The resource URL of a PubSub connection.

Return Value

Returns the transport profile URI string inferred from the resourceUrl, 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