Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.69 KB

activationsignaldetectionconfiguration_setenabledwithresultasync_1777466107.md

File metadata and controls

37 lines (22 loc) · 1.69 KB
-api-id -api-type
M:Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfiguration.SetEnabledWithResultAsync(System.Boolean)
winrt method

Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfiguration.SetEnabledWithResultAsync(System.Boolean)

-description

Asynchronously enables or disables the configuration in an application-level manner, independent of system-level settings, and returns an indicator of success. The configuration must be both allowed and enabled for its associated ActivationSignalDetector.

Important

To avoid possible concurrency issues, we recommend using SetEnabledAsync instead.

-parameters

-param value

True, if enabled. Otherwise, false.

-returns

Returns an IAsyncAction object that is used to control the asynchronous operation.

-remarks

Configuration might not be active even if configuration is enabled successfully. For configuration to be active, all necessary resources must be available and configuration permissions must be granted by the user in Settings.

-see-also

SetEnabledWithResult(System.Boolean), SetEnabled, SetEnabledAsync

-examples