ServerPlatformSettings Constructor (String, String, Int32, String)
Initialize the settings to be used for creating a platform that uses the server model.
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 _
)
'Usage
Dim applicationUserAgent As String
Dim localhost As String
Dim port As Integer
Dim gruu As String
Dim instance As New ServerPlatformSettings(applicationUserAgent, _
localhost, port, gruu)
public ServerPlatformSettings(
string applicationUserAgent,
string localhost,
int port,
string gruu
)
Parameters
- applicationUserAgent
Type: System..::..String
- localhost
Type: System..::..String
- port
Type: System..::..Int32
- gruu
Type: System..::..String
Remarks
Exceptions
[cref][T:System.ArgumentException]: Thrown if parameter is 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 Members