Condividi tramite


VpnTrafficFilterAssignment Classe

Definizione

Consente la specifica di un set di filtri di traffico come criteri per un canale VPN.

public ref class VpnTrafficFilterAssignment sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class VpnTrafficFilterAssignment final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class VpnTrafficFilterAssignment final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class VpnTrafficFilterAssignment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class VpnTrafficFilterAssignment
Public NotInheritable Class VpnTrafficFilterAssignment
Ereditarietà
Object Platform::Object IInspectable VpnTrafficFilterAssignment
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)
Funzionalità dell'app
networkingVpnProvider

Costruttori

VpnTrafficFilterAssignment()

Consente a un plug-in VPN di creare un'assegnazione di criteri di filtro del traffico per il canale VPN.

Proprietà

AllowInbound

Ottiene o imposta un valore che indica se il traffico in ingresso è consentito o meno.

AllowOutbound

Ottiene o imposta un valore che indica se il traffico in uscita è consentito o meno.

TrafficFilterList

Ottiene un elenco di filtri di traffico che compongono i criteri di filtro del traffico da assegnare a un canale VPN.

Si applica a