Bagikan melalui


VpnAppId Kelas

Definisi

Mewakili pengidentifikasi aplikasi, yang dapat menjadi jalur file, nama keluarga paket, atau string nama biner yang sepenuhnya memenuhi syarat (FQBN).

public ref class VpnAppId sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Networking.Vpn.IVpnAppIdFactory, 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 VpnAppId 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.IVpnAppIdFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class VpnAppId final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Networking.Vpn.IVpnAppIdFactory), 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 VpnAppId
[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.IVpnAppIdFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class VpnAppId
Public NotInheritable Class VpnAppId
Warisan
Object Platform::Object IInspectable VpnAppId
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

Keterangan

ID aplikasi untuk aplikasi Win32 adalah jalur file atau Nama Biner yang Sepenuhnya Memenuhi Syarat (FQBN). Untuk aplikasi lain, ID aplikasi adalah Nama Keluarga Paket.

Konstruktor

VpnAppId(VpnAppIdType, String)

Membuat objek VpnAppId dengan ID dan jenis aplikasi tertentu.

Properti

Type

Mendapatkan atau mengatur jenis ID aplikasi.

Value

Mendapatkan atau menetapkan nilai ID aplikasi.

Berlaku untuk