Attempts to infer a transport profile URI string, given a resource URL of a PubSub connection.
Syntax
[NotNull()]
public static string InferFromResourceUrl(
Uri
)
[NotNull()]
public:
static String^ InferFromResourceUrl(
Uri^
)
Parameters
- resourceUrl
- The resource URL of a PubSub connection.
Return Value
Returns the transport profile URI string inferred from the , or an empty string if the transport profile cannot be inferred.
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