Share via


WiFiDirectServiceSessionErrorStatus Enum

Definition

Values used in the WiFiDirectServiceSession.ErrorStatus property.

public enum class WiFiDirectServiceSessionErrorStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WiFiDirectServiceSessionErrorStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WiFiDirectServiceSessionErrorStatus
var value = Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionErrorStatus.ok
Public Enum WiFiDirectServiceSessionErrorStatus
Inheritance
WiFiDirectServiceSessionErrorStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Ok 0

Session status is OK.

Disassociated 1

The L2 connection was disassociated unexpectedly.

LocalClose 2

The session was closed from the local side of the session.

RemoteClose 3

The session was closed from the remote side of the session.

SystemFailure 4

A general system failure has occurred.

NoResponseFromRemote 5

Session timed out due to no response from the remote side of the session.

Applies to