Sprache

WiFiDirectServiceSessionStatus Enumeration

Definition

Deprecated. Werte, die verwendet werden, um den Status einer Wi-Fi Direct Service-Sitzung zu beschreiben.

public enum class WiFiDirectServiceSessionStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WiFiDirectServiceSessionStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("WiFiDirectServiceSessionStatus is deprecated and might not work on all platforms. For more info, see Microsoft Learn.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 1245184, "Windows.Foundation.UniversalApiContract")]
enum class WiFiDirectServiceSessionStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WiFiDirectServiceSessionStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("WiFiDirectServiceSessionStatus is deprecated and might not work on all platforms. For more info, see Microsoft Learn.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 1245184, "Windows.Foundation.UniversalApiContract")]
public enum WiFiDirectServiceSessionStatus
var value = Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionStatus.closed
Public Enum WiFiDirectServiceSessionStatus
Vererbung
WiFiDirectServiceSessionStatus
Attribute

Windows-Anforderungen

Anforderungen Beschreibung
Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Felder

Name Wert Beschreibung
Closed 0

Die Sitzung wurde geschlossen.

Initiated 1

Die Sitzung wurde initiiert.

Requested 2

Eine Sitzung wurde angefordert.

Open 3

Die Sitzung ist geöffnet.

Gilt für: