HotspotAuthenticationContext.AbortAuthentication(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
virtual void AbortAuthentication(bool markAsManual) = AbortAuthentication;
void AbortAuthentication(bool const& markAsManual);
public void AbortAuthentication(bool markAsManual);
function abortAuthentication(markAsManual)
Public Sub AbortAuthentication (markAsManual As Boolean)
參數
- markAsManual
-
Boolean
bool
如果 為 true,Windows 會停用對應 WLAN 設定檔的自動連線屬性,並避免未來自動連線到此熱點。 否則為 false。
Windows 需求
應用程式功能 |
cellularDeviceControl
cellularDeviceIdentity
|
備註
當無法透過 IssueCredentials提供驗證認證時,應該呼叫中止驗證。 呼叫 AbortAuthentication 之後,驗證內容就會完成,而且不應再次呼叫 IssueCredentials、 AbortAuthentication 或 SkipAuthentication 。