Implements the server agent.

Inheritance hierarchy

System . . :: . . Object
   Microsoft.Rtc.Sip . . :: . . ServerAgent

Namespace:  Microsoft.Rtc.Sip
Assembly:  ServerAgent(in ServerAgent.dll)

Syntax

Visual Basic (declaration)
Public 
Class 
ServerAgent _
	
Implements 
IDisposable
Visual Basic (usage)
Dim 
instance 
As 
ServerAgent
C#
public 
class 
ServerAgent : 
IDisposable

Remarks

Applications use [ServerAgent] objects to interact with the server. Each object of this class represents a logical SIP application to the server, and the server to the application. Most applications will only create one such object, but in special cases, it may be necessary to create multiple server agent objects (for example, logging all incoming and all outgoing messages). In order to terminate interaction with the server, applications should call the [Dispose()] method.

Thread safety

Any public static( Sharedin Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also