Gets the type of media represented by the "m" line; for example, "audio" and "video."

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

Syntax

Visual Basic (Declaration)
Public 
Property 
MediaName 
As 
String
C#
public 
string 
MediaName { 
get; 
set; }
Visual C++
public:
property 
String^ 
MediaName {
	
String^ 
get ();
	
void 
set (
String^ 
value);
}
JavaScript
function get_
mediaName();
function set_
mediaName(
value);

Exceptions

Exception Condition
ArgumentNullException Thrown when value is null.
ArgumentException Thrown when value is an empty string.

See Also