Partilhar via


RealTimeServerTlsConnectionManager Constructor (String, String, Byte )

Initializes this instance with given localhost and certificate information.

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

Syntax

'Declaration
Public Sub New ( _
    localHost As String, _
    certificateIssuerName As String, _
    certificateSerialNumber As Byte() _
)
'Usage
Dim localHost As String
Dim certificateIssuerName As String
Dim certificateSerialNumber As Byte()

Dim instance As New RealTimeServerTlsConnectionManager(localHost, _
    certificateIssuerName, certificateSerialNumber)
public RealTimeServerTlsConnectionManager(
    string localHost,
    string certificateIssuerName,
    byte[] certificateSerialNumber
)

Parameters

  • localHost
    Type: System.String
    The localHost to be used in the contact header.
  • certificateIssuerName
    Type: System.String
    The issuer name of the certificate to be used.
  • certificateSerialNumber
    Type: []
    The serial number of the certificate to be used.

Exceptions

Exception Condition
ArgumentNullException

Thrown when a given argument is null.

ArgumentException

Thrown when a given argument is empty, or the localHost parameter cannot be used as a host URI, or the certificate information given is not usable.

See Also

Reference

RealTimeServerTlsConnectionManager Class

RealTimeServerTlsConnectionManager Members

RealTimeServerTlsConnectionManager Overload

Microsoft.Rtc.Signaling Namespace