MediaBasedFactory.Create Method
Creates the object specified.
Namespace: Microsoft.Rtc.Collaboration.ComponentModel
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public MustOverride Function Create ( _
mediaTypes As IEnumerable(Of String), _
context As FactoryContext _
) As Object
'Usage
Dim instance As MediaBasedFactory
Dim mediaTypes As IEnumerable(Of String)
Dim context As FactoryContext
Dim returnValue As Object
returnValue = instance.Create(mediaTypes, _
context)
public abstract Object Create(
IEnumerable<string> mediaTypes,
FactoryContext context
)
Parameters
- mediaTypes
Type: System.Collections.Generic.IEnumerable<String>
The caller guarantees that it will be a subset of the media types supported by the factory
- context
Type: FactoryContext
Additional context the factory needs.
Return Value
Type: System.Object
The created object supporting the media types.