NetworkOperatorNotificationEventDetails.AuthorizeTethering 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.
Used to indicate if tethering is permitted for a device. If it is not, a reason can be provided.
public:
virtual void AuthorizeTethering(bool allow, Platform::String ^ entitlementFailureReason) = AuthorizeTethering;
void AuthorizeTethering(bool const& allow, winrt::hstring const& entitlementFailureReason);
public void AuthorizeTethering(bool allow, string entitlementFailureReason);
function authorizeTethering(allow, entitlementFailureReason)
Public Sub AuthorizeTethering (allow As Boolean, entitlementFailureReason As String)
Parameters
- allow
-
Boolean
bool
true if tethering is permitted; otherwise, false.
- entitlementFailureReason
-
String
Platform::String
winrt::hstring
The reason tethering is not permitted.
Windows requirements
App capabilities |
cellularDeviceControl
cellularDeviceIdentity
|