Bagikan melalui


VpnTrafficFilterAssignment Kelas

Definisi

Memungkinkan spesifikasi sekumpulan filter lalu lintas sebagai kebijakan ke saluran 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
Warisan
Object Platform::Object IInspectable VpnTrafficFilterAssignment
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)
Kemampuan aplikasi
networkingVpnProvider

Konstruktor

VpnTrafficFilterAssignment()

Memungkinkan plug-in VPN untuk membuat penetapan kebijakan filter lalu lintas untuk saluran VPN.

Properti

AllowInbound

Mendapatkan atau mengatur apakah lalu lintas masuk diizinkan atau tidak.

AllowOutbound

Mendapatkan atau mengatur apakah lalu lintas keluar diizinkan atau tidak.

TrafficFilterList

Mendapatkan daftar filter lalu lintas yang menyusun kebijakan filter lalu lintas untuk ditetapkan ke saluran VPN.

Berlaku untuk