SipUriParser.TryParse Method
Creates a URI object from a URI string.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Shared Function TryParse ( _
uri As String, _
<OutAttribute> ByRef parser As SipUriParser _
) As Boolean
'Usage
Dim uri As String
Dim parser As SipUriParser
Dim returnValue As Boolean
returnValue = SipUriParser.TryParse(uri, _
parser)
public static bool TryParse(
string uri,
out SipUriParser parser
)
Parameters
- uri
Type: System.String
The URI string.
- parser
Type: Microsoft.Rtc.Signaling.SipUriParser
The URI object corresponding to the URI string.
Return Value
Type: System.Boolean
Returns true if a valid URI can be formed.