'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.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
Returns the transport profile URI string inferred from the resourceUrl, or an empty string if the transport profile cannot be inferred.
This method never returns null
(Nothing
in Visual Basic).