ConversationalAgentSession.SetSupportLockScreenActivation(Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
启用或禁用对会话代理的锁屏界面激活的支持。
public:
virtual void SetSupportLockScreenActivation(bool lockScreenActivationSupported) = SetSupportLockScreenActivation;
void SetSupportLockScreenActivation(bool const& lockScreenActivationSupported);
public void SetSupportLockScreenActivation(bool lockScreenActivationSupported);
function setSupportLockScreenActivation(lockScreenActivationSupported)
Public Sub SetSupportLockScreenActivation (lockScreenActivationSupported As Boolean)
参数
- lockScreenActivationSupported
-
Boolean
bool
如果启用了锁屏界面激活,则为 True。 否则为 false。
Windows 要求
设备系列 |
Windows 11 (在 10.0.22000.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)
|