Partilhar via


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

  • context
    Type: FactoryContext
    Additional context the factory needs.

Return Value

Type: System.Object
The created object supporting the media types.

See Also

Reference

MediaBasedFactory Class

MediaBasedFactory Members

Microsoft.Rtc.Collaboration.ComponentModel Namespace