Represents an instance of the SIP stack.
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
'Declaration Public Class CollaborationPlatform 'Usage Dim instance As CollaborationPlatform
public class CollaborationPlatform
It is responsible for managing connections between servers (connection pooling, connection throttling), establishing trust with other servers and providing media-specific extensibility to all the endpoints bound to it.
When auto-provisioned, the platform is also responsible for reading provisioning data and channeling the data for endpoints and the application to consume.
When instantiated with ClientPlatformSettings the platform is in client mode. When instantiated with ServerPlatformSettings or ProvisionedApplicationPlatformSettings the platform is in server mode. In client mode the platform can only be used to create UserEndpoints. In server mode it can be used to create both UserEndpoints and ApplicationEndpoints. The server mode enables connection sharing across endpoints, better connection recovery and privileged operations among other things.
An application typically uses only one instance per process but it is not uncommon to use two platform instances in a single process (for example, in gateway scenarios.)
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.