Share via


ActivationSignalDetector.RemoveConfigurationWithResultAsync Method

Definition

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

public:
 virtual IAsyncOperation<ActivationSignalDetectionConfigurationRemovalResult> ^ RemoveConfigurationWithResultAsync(Platform::String ^ signalId, Platform::String ^ modelId) = RemoveConfigurationWithResultAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ActivationSignalDetectionConfigurationRemovalResult> RemoveConfigurationWithResultAsync(winrt::hstring const& signalId, winrt::hstring const& modelId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ActivationSignalDetectionConfigurationRemovalResult> RemoveConfigurationWithResultAsync(string signalId, string modelId);
function removeConfigurationWithResultAsync(signalId, modelId)
Public Function RemoveConfigurationWithResultAsync (signalId As String, modelId As String) As IAsyncOperation(Of 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

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

Attributes

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