ConversationalAgentSession.SetSupportLockScreenActivationAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
以異步方式啟用或停用對交談代理程式鎖定畫面啟用的支援。
public:
virtual IAsyncAction ^ SetSupportLockScreenActivationAsync(bool lockScreenActivationSupported) = SetSupportLockScreenActivationAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SetSupportLockScreenActivationAsync(bool const& lockScreenActivationSupported);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetSupportLockScreenActivationAsync(bool lockScreenActivationSupported);
function setSupportLockScreenActivationAsync(lockScreenActivationSupported)
Public Function SetSupportLockScreenActivationAsync (lockScreenActivationSupported As Boolean) As IAsyncAction
參數
- lockScreenActivationSupported
-
Boolean
bool
True 是表示 如果啟用鎖定畫面啟用。 否則為 false。
傳回
會傳回用來控制異步操作的 IAsyncAction 物件。
- 屬性
Windows 需求
裝置系列 |
Windows 11 (已於 10.0.22000.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v14.0 引進)
|