ConversationalAgentSession.SetSupportLockScreenActivation(Boolean) 方法

定义

启用或禁用对会话代理的锁屏界面激活的支持。

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

适用于