Export (0) Print
Expand All

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)

public void RegisterForApplicationEndpointSettings(
	EventHandler<ApplicationEndpointSettingsDiscoveredEventArgs> applicationEndpointSettingsDiscoveredDelegate
)

Parameters

applicationEndpointSettingsDiscoveredDelegate
Type: System.EventHandler<ApplicationEndpointSettingsDiscoveredEventArgs>

Delegate to handle discovered application endpoint settings.

ExceptionCondition
InvalidOperationException

Thrown if the CollaborationPlatform instance was not created with ProvisionedApplicationPlatformSettings.

ArgumentNullException

Thrown when parameters are null.

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.

Show:
© 2014 Microsoft