The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ServerAgent.ServerAgent (ApplicationManifest)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The ServerAgent constructor creates an instance of a ServerAgent object with the specified application manifest.



public ServerAgent(
  ApplicationManifest manifest


[Visual Basic .NET]

Public Sub New( _
  ByVal manifest As ApplicationManifest _



Specifies a compiled ApplicationManifest object.



This constructor should be used by applications that are only using a SIP Processing Language (MSPL) script in the application manifest for message processing. No calls to Dispatch should be present in the message filter script.

In this case, the application serves solely to register the script with the Office Communications Server. No message processing is performed within the managed code application.

Two common exceptions that should be caught when calling this constructor are:

  • ServerNotFoundException: The Office Communications Server is not running.

  • UnauthorizedException: A connection to the Office Communications Server could not be initialized. This is because of the current security context (user must be a member of the "Communications Server Users" local group), because the application has not been configured to run on this server (through WMI), or because an application with the same URI (as specified in the application manifest) is already running.


Redistributable: Requires Microsoft Office Communications Server 2007 R2.


Assembly: ServerAgent (in ServerAgent.dll)

© 2014 Microsoft