Share via


CollaborationPlatform.RegisterForApplicationEndpointSettings Method

Registers a delegate to receive discovered application endpoint settings.

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

Syntax

'Declaration
Public Sub RegisterForApplicationEndpointSettings ( _
    applicationEndpointSettingsDiscoveredDelegate As EventHandler(Of ApplicationEndpointSettingsDiscoveredEventArgs) _
)
'Usage
Dim instance As CollaborationPlatform
Dim applicationEndpointSettingsDiscoveredDelegate As EventHandler(Of ApplicationEndpointSettingsDiscoveredEventArgs)

instance.RegisterForApplicationEndpointSettings(applicationEndpointSettingsDiscoveredDelegate)
public void RegisterForApplicationEndpointSettings(
    EventHandler<ApplicationEndpointSettingsDiscoveredEventArgs> applicationEndpointSettingsDiscoveredDelegate
)

Parameters

Exceptions

Exception Condition
InvalidOperationException

Thrown if the CollaborationPlatform instance was not created with ProvisionedApplicationPlatformSettings.

ArgumentNullException

Thrown when parameters are null.

Remarks

Upon registering a handler, the application will receive the endpoint settings for which endpoints have not been created yet. In the handler, the application can choose to create endpoints right away using the settings or ignore the settings if it wants to handle them in a different handler it registers.

See Also

Reference

CollaborationPlatform Class

CollaborationPlatform Members

Microsoft.Rtc.Collaboration Namespace