AudioVideoSettings.SetPortRange Method
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
'Declaration
Public Sub SetPortRange ( _
portRange As NetworkPortRange _
)
'Usage
Dim instance As AudioVideoSettings
Dim portRange As NetworkPortRange
instance.SetPortRange(portRange)
public void SetPortRange(
NetworkPortRange portRange
)
Parameters
- portRange
Type: Microsoft.Rtc.Collaboration.AudioVideo.NetworkPortRange
New global audio/video port range policy.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when portRange argument is null. |
Remarks
Any change in the portRange parameter after calling this method will not affect the global audio/video port range configuration policy.