Delen via


TetheringOperationStatus Enum

Definition

Defines the values returned with a NetworkOperatorTetheringOperationResult object to indicate the status of a tethering operation.

public enum class TetheringOperationStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class TetheringOperationStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum TetheringOperationStatus
var value = Windows.Networking.NetworkOperators.TetheringOperationStatus.success
Public Enum TetheringOperationStatus
Inheritance
TetheringOperationStatus
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)
App capabilities
cellularDeviceControl cellularDeviceIdentity

Fields

Name Value Description
Success 0

The operation completed successfully.

Unknown 1

The status of the operation is unknown.

MobileBroadbandDeviceOff 2

The operation could not begin because the mobile broadband device is turned off.

WiFiDeviceOff 3

The operation could not begin because the Wifi device is turned off.

EntitlementCheckTimeout 4

The operation did not complete because the mobile operator could not be contacted to confirm tethering capabilities are provided for this account.

EntitlementCheckFailure 5

The operation did not complete because the account does not currently support tethering operations.

OperationInProgress 6

The operation is still in progress.

BluetoothDeviceOff 7

The operation could not begin because Bluetooth or a required Bluetooth device is turned off.

NetworkLimitedConnectivity 8

The operation did not complete because of limited network connectivity.

AlreadyOn 9

The hotspot is already on (already running). This status is returned only when calling StartTetheringAsync with a specified per-session configuration.

RadioRestriction 10

Can't start a mobile hotspot on the requested frequency band due to radio restrictions (for example, the 6 GHz band requires 2x2 antennae / dual radio).

BandInterference 11

Can't start a mobile hotspot on the requested frequency band due to the main connection frequency band interfering (for example, the 6 GHz band can't be configured for the mobile hotspot access point if the main station connection is over the 5 GHz band).

Remarks

Version history

Windows version SDK version Value added
1607 14393 BluetoothDeviceOff
1607 14393 NetworkLimitedConnectivity

Applies to