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

Initialize the setting to be used for creating a platform that uses the server model with a certificate.

Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub New ( _
    applicationUserAgent As String, _
    localhost As String, _
    port As Integer, _
    gruu As String, _
    certificateIssuerName As String, _
    certificateSerialNumber As Byte() _
)
'Usage
Dim applicationUserAgent As String
Dim localhost As String
Dim port As Integer
Dim gruu As String
Dim certificateIssuerName As String
Dim certificateSerialNumber As Byte()

Dim instance As New ServerPlatformSettings(applicationUserAgent, _
    localhost, port, gruu, certificateIssuerName, _
    certificateSerialNumber)
public ServerPlatformSettings(
    string applicationUserAgent,
    string localhost,
    int port,
    string gruu,
    string certificateIssuerName,
    byte[] certificateSerialNumber
)

Parameters

Remarks

The certificate should be installed in the local computer certificate store.

Exceptions

[cref][T:System.ArgumentException]: Thrown if parameters are null or empty.

[cref][T:System.ArgumentOutOfRangeException]: Thrown if the port value is out of range.

[cref][T:System.ArgumentException]: Thrown if the GRUU specified is not a valid GRUU.

See Also

Reference

ServerPlatformSettings Class

ServerPlatformSettings Members

ServerPlatformSettings Overload

Microsoft.Rtc.Collaboration Namespace