CollaborationPlatform.RegisterPlatformExtension Method
Registers an extension with the platform.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub RegisterPlatformExtension ( _
extension As MediaBasedFactory _
)
'Usage
Dim instance As CollaborationPlatform
Dim extension As MediaBasedFactory
instance.RegisterPlatformExtension(extension)
public void RegisterPlatformExtension(
MediaBasedFactory extension
)
Parameters
- extension
Type: Microsoft.Rtc.Collaboration.ComponentModel.MediaBasedFactory
The extension to register.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the extension cannot be combined with already configured extensions. |
Remarks
Extensions such as call factories that support specific media types can be registered only if there is no existing extension for that media type.