다음을 통해 공유


RealTimeConnectionManager Constructor (String, String, Byte )

Initializes an instance of this class from localHost and the certificate information.

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

Syntax

'Declaration
Protected 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 RealTimeConnectionManager(localHost, _
    certificateIssuerName, certificateSerialNumber)
protected RealTimeConnectionManager(
    string localHost,
    string certificateIssuerName,
    byte[] certificateSerialNumber
)

Parameters

  • localHost
    Type: System.String
    Specifies the local host to be used in contact header. localHost could be the computer name, the IP address, or the computer's fully qualified domain name.
  • 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 an argument given is null.

ArgumentException

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

See Also

Reference

RealTimeConnectionManager Class

RealTimeConnectionManager Members

RealTimeConnectionManager Overload

Microsoft.Rtc.Signaling Namespace