OPC Studio User's Guide and Reference
ImplyFromResourceUrl Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Engine Namespace > UAPubSubTransportProfileUriStrings Class : ImplyFromResourceUrl Method
The resource URL of a PubSub connection.

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

Attempts to imply a transport profile URI string, given a resource URL of a PubSub connection.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function ImplyFromResourceUrl( _
   ByVal resourceUrl As Uri _
) As String
'Usage
 
Dim resourceUrl As Uri
Dim value As String
 
value = UAPubSubTransportProfileUriStrings.ImplyFromResourceUrl(resourceUrl)
[NotNull()]
public static string ImplyFromResourceUrl( 
   Uri resourceUrl
)
[NotNull()]
public:
static String^ ImplyFromResourceUrl( 
   Uri^ resourceUrl
) 

Parameters

resourceUrl
The resource URL of a PubSub connection.

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

Return Value

Returns the transport profile URI string implied by the resourceUrl, or an empty string if the implied transport profile cannot be determined.

This method never returns null (Nothing in Visual Basic).

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