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

This is an advanced API to be used by applications capable of working with multiple next hop proxies. This API can be used if the applications want to change the next hop proxy information.

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