CellularApnContext Klasse

Definition

Diese Klasse enthält Eigenschaften, die zum Angeben eines Access Point Name (APN) für einen 3GPP-basierten zellulären Datenverbindungskontext (PDP) verwendet werden.

public ref class CellularApnContext 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)]
class CellularApnContext final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class CellularApnContext 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)]
public sealed class CellularApnContext
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class CellularApnContext
function CellularApnContext()
Public NotInheritable Class CellularApnContext
Vererbung
Object Platform::Object IInspectable CellularApnContext
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Hinweise

Ein CellularApnContext-Objekt wird mit einem ConnectivityManager.AcquireConnectionAsync-Aufruf übergeben, um eine Verbindung mit einem bestimmten Zugriffspunkt herzustellen.

Versionsverlauf

Windows-Version SDK-Version Wertschöpfung
1803 17134 ProfileName

Konstruktoren

CellularApnContext()

Erstellt eine instance von CellularApnContext.

Eigenschaften

AccessPointName

Gibt den Namen des Zugriffspunkts an, mit dem eine Verbindung hergestellt werden soll.

AuthenticationType

Gibt die von CellularApnAuthenticationType definierte Authentifizierungsmethode an, die vom Zugriffspunkt verwendet wird.

IsCompressionEnabled

Gibt an, ob die Datenkomprimierung am Datenlink für Header und Datenübertragung verwendet wird.

Password

Gibt das Kennwort an, das zum Authentifizieren beim Herstellen einer Verbindung mit dem Zugriffspunkt verwendet wird.

ProfileName

Ruft den Namen eines Mobilfunkprofils ab.

ProviderId

Gibt die dem Zugriffspunkt zugeordnete Anbieter-ID an.

UserName

Gibt den Benutzernamen an, der zum Authentifizieren verwendet wird, wenn eine Verbindung mit dem Zugriffspunkt hergestellt wird.

Gilt für:

Weitere Informationen