Creates a new instance of the
ServerPlatformSettings class.
Namespace:
Microsoft.Rtc.Collaboration
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Sub
New ( _
applicationUserAgent
As
String, _
localhost
As
String, _
port
As
Integer, _
gruu
As
String, _
certificateIssuerName
As
String, _
certificateSerialNumber
As
Byte() _
)
|
C# |
public
ServerPlatformSettings(
string
applicationUserAgent,
string
localhost,
int
port,
string
gruu,
string
certificateIssuerName,
byte[]
certificateSerialNumber
)
|
Visual C++ |
public:
ServerPlatformSettings(
String^
applicationUserAgent,
String^
localhost,
int
port,
String^
gruu,
String^
certificateIssuerName,
array<
unsigned char>^
certificateSerialNumber
)
|
JavaScript |
Microsoft.Rtc.Collaboration.ServerPlatformSettings =
function(
applicationUserAgent,
localhost,
port,
gruu,
certificateIssuerName,
certificateSerialNumber);
|
Parameters
-
applicationUserAgent
- Type:
String
The part of the user agent string that identifies the
application. Can be null.
-
localhost
- Type:
String
The fqdn of the machine where the application is
deployed.
-
port
- Type:
Int32
The port to listen for incoming connections.
-
gruu
- Type:
String
The trusted GRUU for the application.
-
certificateIssuerName
- Type:
String
The certificate issuer name.
-
certificateSerialNumber
- Type:
array<
Byte
>
[]
()
[]
The certificate serial number.
Remarks
Remarks
Exceptions
Exception |
Condition |
ArgumentException
|
Thrown when parameters are null or empty. |
ArgumentOutOfRangeException
|
Thrown when the port value is out of range. |
ArgumentException
|
Thrown when the GRUU specified is not a valid GRUU. |
See Also