WiFiDirectServiceSessionErrorStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |