Creates the object specified.

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

Syntax

Visual Basic (Declaration)
Public 
MustOverride 
Function 
Create ( _
	
mediaTypes 
As 
IEnumerable(
Of 
String), _
	
context 
As 

FactoryContext _
) 
As 
Object
C#
public 
abstract 
Object 
Create(
	
IEnumerable<
string> 
mediaTypes,
	

FactoryContext 
context
)
Visual C++
public:
virtual 
Object^ 
Create(
	
IEnumerable<
String^>^ 
mediaTypes, 
	

FactoryContext^ 
context
) 
abstract
JavaScript
function 
create(
mediaTypes, 
context);

Parameters

mediaTypes
Type: IEnumerable < (Of < ( String > ) > )
The caller guarantees that it will be a subset of the media types supported by the factory
context
Type: Microsoft.Rtc.Internal.Collaboration . . :: . FactoryContext
Additional context the factory needs.

Return Value

The created object supporting the mediatypes.

See Also