ApplicationConfigHelper.RegisterChangeNotification (String, ApplicationConfigChangedEventHandler)

The RegisterChangeNotification method registers an event handler (of the ApplicationConfigChangedEventHandler delegate type) with a server application, the URI of which is specified by the input string value.

Syntax

[C#]

  Copy imageCopy Code
public void RegisterChangeNotification(
  string applicationUri,
  ApplicationConfigChangedEventHandler handler
);

Syntax

[Visual Basic .NET]

  Copy imageCopy Code
Public Function RegisterChangeNotification( _
  ByVal applicationUri As String, _
  ByVal handler As ApplicationConfigChangedEventHandler
) As Nothing

Parameters

applicationUri

Specifies the URI of the application on which the configuration change notification has been registered.

handler

Specifies the delegate that handles the application configuration changed event.

Return Values

Returns a void (Nothing in Visual Basic .NET).

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also