VpnRoute Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Stellt eine Route relativ zum VPN-Kanal dar. Es besteht aus einer Adresse und einer Präfixgröße, um das subnetz zu identifizieren, das weitergeleitet wird. Die Route kann dann entweder eingeschlossen oder aus dem VPN-Kanalbereich ausgeschlossen werden.
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
- Vererbung
- Attribute
Windows-Anforderungen
Gerätefamilie |
Windows 10 (eingeführt in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)
|
App-Funktionen |
networkingVpnProvider
|
Konstruktoren
VpnRoute(HostName, Byte) |
Erstellt ein VpnRoute-Objekt . |
Eigenschaften
Address |
Ruft die ID oder die Adresse des Subnetzes unter dem Routensteuerelement ab oder legt diese fest. |
PrefixSize |
Ruft die Größe (in Bits) ab, die vom Subnetz berücksichtigt werden soll, oder legt diese fest. |
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für