WiFiDirectError Enum


Specifies some common Wi-Fi Direct error cases.

public enum class WiFiDirectError
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum WiFiDirectError
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WiFiDirectError
var value = Windows.Devices.WiFiDirect.WiFiDirectError.success
Public Enum WiFiDirectError

Windows 10 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)


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.

Success 0

The operation was successfully completed or serviced.

Applies to