Registers a handler that is called when settings change for the server application with supplied application URI.
Assembly: ServerAgent(in ServerAgent.dll)
Syntax
Visual Basic (declaration) |
---|
Public Sub RegisterChangeNotification ( _ appUri As String, _ handler As ApplicationConfigChangedEventHandler _ ) |
Visual Basic (usage) |
---|
Dim instance As ApplicationConfigHelper Dim appUri As String Dim handler As ApplicationConfigChangedEventHandler instance. RegisterChangeNotification( appUri, _ handler) |
C# |
---|
public void RegisterChangeNotification( string appUri, ApplicationConfigChangedEventHandler handler ) |
Parameters
- appUri
- Type:
System
.
.
::
.
.
String
URI of the application to monitor.
- handler
- Type:
Microsoft.Rtc.Sip
.
.
::
.
.
ApplicationConfigChangedEventHandler
Function that is invoked when settings change.
Exceptions
Exception | Condition |
---|---|
ApplicationConfigHelperException |
Thrown in case of an internal error. |