Delen via


WiFiDirectError Enum

Definition

Specifies some common Wi-Fi Direct error cases.

public enum class WiFiDirectError
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WiFiDirectError
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WiFiDirectError
var value = Windows.Devices.WiFiDirect.WiFiDirectError.success
Public Enum WiFiDirectError
Inheritance
WiFiDirectError
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
Success 0

The operation was successfully completed or serviced.

RadioNotAvailable 1

The Wi-Fi Direct radio was not available. This error occurs when the Wi-Fi Direct radio has been turned off.

ResourceInUse 2

The operation cannot be serviced because the necessary resources are currently in use.

Applies to