NetworkOperatorTetheringManager.EnableNoConnectionsTimeoutAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
|