Share via


NetworkOperatorTetheringManager.EnableNoConnectionsTimeoutAsync Method

Definition

Asynchronously enables the NoConnections timeout. This means that tethering turns off automatically in 5 minutes after the last peer of the tethering connection goes away.

public:
 static IAsyncAction ^ EnableNoConnectionsTimeoutAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction EnableNoConnectionsTimeoutAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction EnableNoConnectionsTimeoutAsync();
function enableNoConnectionsTimeoutAsync()
Public Shared Function EnableNoConnectionsTimeoutAsync () As IAsyncAction

Returns

An asynchronous object, which you can await.

Attributes

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)
App capabilities
wiFiControl

Applies to