Delen via


TetheringOperationalState Enum

Definition

Defines values used by the NetworkOperatorTetheringManager.TetheringOperationalState property to indicate the operational state of a device's tethering capabilities.

public enum class TetheringOperationalState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class TetheringOperationalState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum TetheringOperationalState
var value = Windows.Networking.NetworkOperators.TetheringOperationalState.unknown
Public Enum TetheringOperationalState
Inheritance
TetheringOperationalState
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
Unknown 0

Current operational state is unknown.

On 1

Tethering is on.

Off 2

Tethering is off.

InTransition 3

The tethering feature is currently in transition between the On and Off states.

Applies to