Share via


UserName Property

Gets or sets the [UserName] in the "o" line of the SDP.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Property UserName As String
    Get
    Set
'Usage
Dim instance As SdpOrigin
Dim value As String

value = instance.UserName

instance.UserName = value
public string UserName { get; set; }

Property Value

Type: System..::..String

Exceptions

Exception Condition
ArgumentNullException

Thrown when argument is a null string.

ArgumentException

Thrown when argument is an empty string.

See Also

Reference

SdpOrigin Class

SdpOrigin Members

Microsoft.Rtc.Signaling Namespace