'Declaration
<JetBrains.Annotations.NotNullAttribute()> Public Overloads Shared Function GetSingleProtocolName( _ ByVal transportProfileUri As Uri _ ) As String
'Usage
Dim transportProfileUri As Uri Dim value As String value = UATransportProfileUriStrings.GetSingleProtocolName(transportProfileUri)
[JetBrains.Annotations.NotNull()] public static string GetSingleProtocolName( Uri transportProfileUri )
[JetBrains.Annotations.NotNull()] public: static String^ GetSingleProtocolName( Uri^ transportProfileUri )
Parameters
- transportProfileUri
- The transport profile URI for which the protocol name should be obtained.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
If the transport profile given by transportProfileUri uses a single protocol, returns the name of this protocol. Otherwise, returns an empty string.
This method never returns null
(Nothing
in Visual Basic).