Initializes a new instance of the class.
Namespace:
Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in
microsoft.rtc.collaboration.dll)
Syntax
|
Public Sub New ( _
uri As String, _
allowedAuthenticationProtocols As SipAuthenticationProtocols, _
transportType As SipTransportType, _
serverName As String, _
serverPort As Integer, _
allowNoAuthentication As Boolean, _
connectionManager As RealTimeConnectionManager, _
endpointId As String _
)
|
|
public SipEndpoint (
string uri,
SipAuthenticationProtocols allowedAuthenticationProtocols,
SipTransportType transportType,
string serverName,
int serverPort,
bool allowNoAuthentication,
RealTimeConnectionManager connectionManager,
string endpointId
)
|
Parameters
- uri
-
The URI of the user identifying the endpoint.
- allowedAuthenticationProtocols
-
The authentication protocols to be used for the server that is
specified.
- transportType
-
The type of transport to be used to connect to the server.
- serverName
-
The name of the server to be used.
- serverPort
-
The port to be used to connect to the server. User 0 to use
default.
- allowNoAuthentication
-
Indicates whether the client allows communicating with a server
that does not challenge messages from this client. Most
applications should pass false.
- connectionManager
-
The connection manager to be used for this endpoint.
- endpointId
-
The endpoint ID to use, which can be null.
Exceptions
Exception type |
Condition |
ArgumentException
|
Thrown when one of the arguments is not valid.
|
Remarks
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server
2003, Windows Vista Ultimate Edition, Windows Vista Business
Edition, Windows Vista Enterprise Edition
Target Platforms
See Also