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, _
connectionManager As RealTimeServerConnectionManager, _
defaultTransportType As SipTransportType, _
proxyHost As String, _
proxyPort As Integer, _
gruu As String _
)
|
|
public SipPeerToPeerEndpoint (
string uri,
RealTimeServerConnectionManager connectionManager,
SipTransportType defaultTransportType,
string proxyHost,
int proxyPort,
string gruu
)
|
Parameters
- uri
-
The URI for this endpoint. This should not include port. Port
will be automatically added depending on the listening port, if
any.
- connectionManager
-
The connection manager to use for this endpoint, which can be
null.
- defaultTransportType
-
The default transport for outgoing messages, if the application
did not override the transport explicitly. For example, invite
uri can have transport type to override this. However, when
proxy is used for the message, only TLS specification in the
message overrides the defaultTransport type.
- proxyHost
-
The proxy host to use as first hop instead of direct connection
to the other endpoint. This allows us to route messages to
endpoints that might not be directly reachable.
- proxyPort
-
The port to use for connecting to proxy.
- gruu
-
The GRUU to be used for the endpoint
Exceptions
Exception type |
Condition |
ArgumentException
|
Thrown when some supplied argument is invalid.
|
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