Share via


ServerAgent.ServerAgent(ApplicationManifest) constructor

 
Communications Server 2007 Server SDK Documentation

ServerAgent.ServerAgent (ApplicationManifest)

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

[C#]
public ServerAgent(
ApplicationManifest manifest
);
FakePre-408c151e98b3489fbcb77a2c97a011b8-b4500214b567486585ee8f6b1f6d76e9

Parameters

Remarks

Note????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.

Requirements

Redistributable: Requires Microsoft Office Communications Server 2007.
Namespace: Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)

See Also

SIP Application Manifests, Creating a SIP Application for Office Communications Server, ServerAgent

  
  What did you think of this topic?
  © 2007 Microsoft Corporation. All rights reserved.