Apply global audio/video port range policy as specified in forwarded parameter.

Namespace:  Microsoft.Rtc.Collaboration.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
SetPortRange ( _
	
portRange 
As 

NetworkPortRange _
)
C#
public 
void 
SetPortRange(
	

NetworkPortRange 
portRange
)
Visual C++
public:
void 
SetPortRange(
	

NetworkPortRange^ 
portRange
)
JavaScript
function 
setPortRange(
portRange);

Parameters

portRange
Type: Microsoft.Rtc.Collaboration.AudioVideo . . :: . NetworkPortRange
New global audio/video port range policy.

Remarks

Any change in the portRange parameter after calling this method will not affect the global audio/video port range configuration policy.

Exceptions

Exception Condition
ArgumentNullException Thrown when portRange argument is null.

See Also