VpnTrafficFilterAssignment VpnTrafficFilterAssignment VpnTrafficFilterAssignment VpnTrafficFilterAssignment Class

Definition

Allows the specification of a set of traffic filters as policy to a VPN channel.

public : sealed class VpnTrafficFilterAssignment : IVpnTrafficFilterAssignmentpublic sealed class VpnTrafficFilterAssignment : IVpnTrafficFilterAssignmentPublic NotInheritable Class VpnTrafficFilterAssignment Implements IVpnTrafficFilterAssignment// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

Constructors

VpnTrafficFilterAssignment() VpnTrafficFilterAssignment() VpnTrafficFilterAssignment() VpnTrafficFilterAssignment()

Allows a VPN plug-in to create a traffic filter policy assignment for the VPN channel.

public : VpnTrafficFilterAssignment()public VpnTrafficFilterAssignment()Public Sub New()// This API is not available in Javascript.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

Properties

AllowInbound AllowInbound AllowInbound AllowInbound

Gets or sets whether inbound traffic is allowed or not.

public : PlatForm::Boolean AllowInbound { get; set; }public bool AllowInbound { get; set; }Public ReadWrite Property AllowInbound As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

If inbound traffic is allowed, it is TRUE; otherwise , it is FALSE.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

AllowOutbound AllowOutbound AllowOutbound AllowOutbound

Gets or sets whether outbound traffic is allowed or not.

public : PlatForm::Boolean AllowOutbound { get; set; }public bool AllowOutbound { get; set; }Public ReadWrite Property AllowOutbound As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

If outbound traffic is allowed, it is TRUE; otherwise , it is FALSE.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

TrafficFilterList TrafficFilterList TrafficFilterList TrafficFilterList

Gets a list of traffic filters composing the traffic filter policy to assign to a VPN channel.

public : IVector<VpnTrafficFilter> TrafficFilterList { get; }public IList<VpnTrafficFilter> TrafficFilterList { get; }Public ReadOnly Property TrafficFilterList As IList<VpnTrafficFilter>// This API is not available in Javascript.
Value
IVector<VpnTrafficFilter> IList<VpnTrafficFilter> IList<VpnTrafficFilter> IList<VpnTrafficFilter>

The list of traffic filters composing the traffic filter policy to assign to a VPN channel.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider