Gets the default media type for this call.

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

Syntax

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

Remarks

For InstantMessagingCall, default mediaType is Message.

Exceptions

Exception Condition
InvalidOperationException Thrown when an application attempts to set property.

See Also