Parses the supplied array of bytes as an SDP.
Namespace:
Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in
microsoft.rtc.collaboration.dll)
Syntax
|
Public Function TryParse ( _
bytes As Byte() _
) As Boolean
|
|
public bool TryParse (
byte[] bytes
)
|
Parameters
- bytes
-
The array of bytes containing the SDP to parse.
Return Value
Returns
true if the array contained a valid SDP. If
false is returned,
LastParseErrorMessage and
LastParseErrorLineNumber provide information about why the
SDP cannot be parsed.
Exceptions
Exception type |
Condition |
ArgumentNullException
|
Thrown when bytes are null.
|
InvalidOperationException
|
An attempt to parse more than one text was made.
|
Remarks
Thread Safety
All public static (Shared in Visual
Basic) members of this type are thread-safe. Instance members are
not guaranteed to be thread-safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server
2003, Windows Vista Ultimate Edition, Windows Vista Business
Edition, Windows Vista Enterprise Edition
Target Platforms
See Also