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 中引入)
|