UserEndpointSettings Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UserEndpointSettings(String) |
Creates a new UserEndpointSettings object. |
UserEndpointSettings(String, ConnectionContext) |
Creates a new instance of the UserEndpointSettings class. |
UserEndpointSettings(String, String) |
Creates a new instance of the UserEndpointSettings class. |
UserEndpointSettings(String, String, Int32) |
Creates a new UserEndpointSettings object |
UserEndpointSettings(String)
Creates a new UserEndpointSettings object.
public:
UserEndpointSettings(System::String ^ ownerUri);
public UserEndpointSettings (string ownerUri);
new Microsoft.Rtc.Collaboration.UserEndpointSettings : string -> Microsoft.Rtc.Collaboration.UserEndpointSettings
Public Sub New (ownerUri As String)
Parameters
- ownerUri
- String
The URI of the user who owns this endpoint.
Exceptions
Thrown when arguments are null or empty.
Thrown when one or more arguments are not valid.
Remarks
The server name and port are discovered using DNS queries automatically if the transport is Tls. This constructor is not supported when UserEndpoint is created with a platform configured for Tcp transport.
Applies to
UserEndpointSettings(String, ConnectionContext)
Creates a new instance of the UserEndpointSettings class.
public:
UserEndpointSettings(System::String ^ ownerUri, Microsoft::Rtc::Signaling::ConnectionContext ^ serverConnectionContext);
public UserEndpointSettings (string ownerUri, Microsoft.Rtc.Signaling.ConnectionContext serverConnectionContext);
new Microsoft.Rtc.Collaboration.UserEndpointSettings : string * Microsoft.Rtc.Signaling.ConnectionContext -> Microsoft.Rtc.Collaboration.UserEndpointSettings
Public Sub New (ownerUri As String, serverConnectionContext As ConnectionContext)
Parameters
- ownerUri
- String
The URI of the user that owns this endpoint.
- serverConnectionContext
- ConnectionContext
The server where the endpoint is registered.
Exceptions
Thrown when one or more arguments are null or empty.
Applies to
UserEndpointSettings(String, String)
Creates a new instance of the UserEndpointSettings class.
public:
UserEndpointSettings(System::String ^ ownerUri, System::String ^ serverName);
public UserEndpointSettings (string ownerUri, string serverName);
new Microsoft.Rtc.Collaboration.UserEndpointSettings : string * string -> Microsoft.Rtc.Collaboration.UserEndpointSettings
Public Sub New (ownerUri As String, serverName As String)
Parameters
- ownerUri
- String
The URI of the user that owns this endpoint.
- serverName
- String
The server where the endpoint is registered.
Exceptions
Thrown when one or more arguments are null or empty.
Applies to
UserEndpointSettings(String, String, Int32)
Creates a new UserEndpointSettings object
public:
UserEndpointSettings(System::String ^ ownerUri, System::String ^ serverName, int serverPort);
public UserEndpointSettings (string ownerUri, string serverName, int serverPort);
new Microsoft.Rtc.Collaboration.UserEndpointSettings : string * string * int -> Microsoft.Rtc.Collaboration.UserEndpointSettings
Public Sub New (ownerUri As String, serverName As String, serverPort As Integer)
Parameters
- ownerUri
- String
The URI of the user who owns this endpoint.
- serverName
- String
The server where the endpoint is registered.
- serverPort
- Int32
The port on the server to connect to.
Exceptions
Thrown when arguments are null or empty.
Thrown when one or more arguments are not valid.