Share via


ActivationSignalDetector.RemoveConfigurationWithResult(String, String) Method

Definition

Removes the ActivationSignalDetectionConfiguration identified by the ActivationSignalDetectionConfiguration.SignalId and ActivationSignalDetectionConfiguration.ModelId pair, and returns an indicator of success.

Important

To avoid possible concurrency issues, we recommend using RemoveConfigurationWithResultAsync(System.String,System.String) instead.

public:
 virtual ActivationSignalDetectionConfigurationRemovalResult RemoveConfigurationWithResult(Platform::String ^ signalId, Platform::String ^ modelId) = RemoveConfigurationWithResult;
ActivationSignalDetectionConfigurationRemovalResult RemoveConfigurationWithResult(winrt::hstring const& signalId, winrt::hstring const& modelId);
public ActivationSignalDetectionConfigurationRemovalResult RemoveConfigurationWithResult(string signalId, string modelId);
function removeConfigurationWithResult(signalId, modelId)
Public Function RemoveConfigurationWithResult (signalId As String, modelId As String) As ActivationSignalDetectionConfigurationRemovalResult

Parameters

signalId
String

Platform::String

winrt::hstring

The unique identifier for the ConversationalAgentSignal.

modelId
String

Platform::String

winrt::hstring

The unique model identifier of the Signal that activated the conversational agent.

Returns

A value that indicates whether the call succeeded or the reason it failed.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Applies to

See also