VpnRoute Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mewakili rute yang relatif terhadap saluran VPN. Ini terdiri dari alamat dan ukuran awalan untuk mengidentifikasi subnet yang dirutekan. Rute kemudian dapat disertakan atau dikecualikan dari cakupan saluran VPN.
public ref class VpnRoute sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Networking.Vpn.IVpnRouteFactory, 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 VpnRoute 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(Windows.Networking.Vpn.IVpnRouteFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class VpnRoute final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Networking.Vpn.IVpnRouteFactory), 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 VpnRoute
[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(typeof(Windows.Networking.Vpn.IVpnRouteFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class VpnRoute
Public NotInheritable Class VpnRoute
- Warisan
- 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
VpnRoute(HostName, Byte) |
Membuat objek VpnRoute |
Properti
Address |
Mendapatkan atau mengatur ID atau alamat subnet di bawah kontrol rute. |
PrefixSize |
Mendapatkan atau mengatur ukuran (dalam bit) yang akan dipertimbangkan oleh subnet.. |