Edit

Share via


ServerPlatformSettings Constructors

Definition

Overloads

ServerPlatformSettings(String, String, Int32, String)

Creates a new instance of the ServerPlatformSettings class.

ServerPlatformSettings(String, String, Int32, String, X509Certificate)

Creates a new instance of the ServerPlatformSettings class.

ServerPlatformSettings(String, String, Int32, String, String, Byte[])

Creates a new instance of the ServerPlatformSettings class.

ServerPlatformSettings(String, String, Int32, String)

Creates a new instance of the ServerPlatformSettings class.

public:
 ServerPlatformSettings(System::String ^ applicationUserAgent, System::String ^ localhost, int port, System::String ^ gruu);
public ServerPlatformSettings (string applicationUserAgent, string localhost, int port, string gruu);
new Microsoft.Rtc.Collaboration.ServerPlatformSettings : string * string * int * string -> Microsoft.Rtc.Collaboration.ServerPlatformSettings
Public Sub New (applicationUserAgent As String, localhost As String, port As Integer, gruu As String)

Parameters

applicationUserAgent
String

The part of the user agent string that identifies the application. Can be null.

localhost
String

The FQDN of the machine where the application is deployed.

port
Int32

The port on which to listen for incoming connections.

gruu
String

The trusted GRUU for the application.

Exceptions

Thrown when the GRUU specified is not a valid GRUU.

Thrown when the port value is out of range.

Remarks

Initializes the settings used for creating a platform that uses a server model.

Applies to

ServerPlatformSettings(String, String, Int32, String, X509Certificate)

Creates a new instance of the ServerPlatformSettings class.

public:
 ServerPlatformSettings(System::String ^ applicationUserAgent, System::String ^ localhost, int port, System::String ^ gruu, System::Security::Cryptography::X509Certificates::X509Certificate ^ certificate);
public ServerPlatformSettings (string applicationUserAgent, string localhost, int port, string gruu, System.Security.Cryptography.X509Certificates.X509Certificate certificate);
new Microsoft.Rtc.Collaboration.ServerPlatformSettings : string * string * int * string * System.Security.Cryptography.X509Certificates.X509Certificate -> Microsoft.Rtc.Collaboration.ServerPlatformSettings
Public Sub New (applicationUserAgent As String, localhost As String, port As Integer, gruu As String, certificate As X509Certificate)

Parameters

applicationUserAgent
String

The part of the user agent string that identifies the application. Can be null.

localhost
String

The FQDN of the machine where the application is deployed.

port
Int32

The port to listen for incoming connections.

gruu
String

The trusted GRUU for the application.

certificate
X509Certificate

The certificate to use.

Exceptions

Thrown when the GRUU specified is not a valid GRUU.

Thrown when the port value is out of range.

Remarks

Initializes the setting used for creating a platform that uses a server model with a certificate. The certificate should be installed in the local computer certificate store.

Applies to

ServerPlatformSettings(String, String, Int32, String, String, Byte[])

Creates a new instance of the ServerPlatformSettings class.

public:
 ServerPlatformSettings(System::String ^ applicationUserAgent, System::String ^ localhost, int port, System::String ^ gruu, System::String ^ certificateIssuerName, cli::array <System::Byte> ^ certificateSerialNumber);
public ServerPlatformSettings (string applicationUserAgent, string localhost, int port, string gruu, string certificateIssuerName, byte[] certificateSerialNumber);
new Microsoft.Rtc.Collaboration.ServerPlatformSettings : string * string * int * string * string * byte[] -> Microsoft.Rtc.Collaboration.ServerPlatformSettings
Public Sub New (applicationUserAgent As String, localhost As String, port As Integer, gruu As String, certificateIssuerName As String, certificateSerialNumber As Byte())

Parameters

applicationUserAgent
String

The part of the user agent string that identifies the application. Can be null.

localhost
String

The fqdn of the machine where the application is deployed.

port
Int32

The port to listen for incoming connections.

gruu
String

The trusted GRUU for the application.

certificateIssuerName
String

The certificate issuer name.

certificateSerialNumber
Byte[]

The certificate serial number.

Exceptions

Thrown when the GRUU specified is not a valid GRUU.

Thrown when the port value is out of range.

Remarks

Initializes the setting used for creating a platform that uses a server model with a certificate. The certificate should be installed in the local computer certificate store.

Applies to