NetworkOperatorNotificationEventDetails.AuthorizeTethering メソッド

定義

デバイスでテザリングが許可されているかどうかを示すために使用されます。 そうでない場合は、理由を指定できます。

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)

パラメーター

allow
Boolean

bool

テザリングが許可されている場合は true。それ以外の場合は false。

entitlementFailureReason
String

Platform::String

winrt::hstring

テザリングが許可されていない理由。

Windows の要件

アプリの機能
cellularDeviceControl cellularDeviceIdentity

適用対象