Sets the information about the next hop
proxy.
Namespace:
Microsoft.Rtc.Collaboration
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Sub
SetProxyInformation ( _
proxyHost
As
String, _
proxyPort
As
Integer _
)
|
C# |
public
void
SetProxyInformation(
string
proxyHost,
int
proxyPort
)
|
Visual C++ |
public:
void
SetProxyInformation(
String^
proxyHost,
int
proxyPort
)
|
JavaScript |
function
setProxyInformation(
proxyHost,
proxyPort);
|
Parameters
-
proxyHost
- Type:
String
The proxy host to use as the first hop instead of a direct
connection to the other endpoint.
-
proxyPort
- Type:
Int32
The port to use for connecting to a proxy.
Remarks
Exceptions
Exception |
Condition |
ArgumentNullException
|
Thrown if the supplied
proxyHostis null. |
ArgumentException
|
Thrown if the supplied
proxyHostis empty. |
ArgumentOutOfRangeException
|
Thrown if the supplied
proxyPortis out of range. |
See Also