ActivationSignalDetector.RemoveConfigurationWithResultAsync 方法

定义

异步删除由 ActivationSignalDetectionConfiguration.SignalId 和 ActivationSignalDetectionConfiguration.ModelId 对标识的 ActivationSignalDetectionConfiguration ,并返回成功指示器。

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)

参数

signalId
String

Platform::String

winrt::hstring

ConversationalAgentSignal 的唯一标识符。

modelId
String

Platform::String

winrt::hstring

激活会话代理的 Signal 的唯一模型标识符。

返回

返回用于控制异步操作的 IAsyncAction 对象。

属性

Windows 要求

设备系列
Windows 11 (在 10.0.22000.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)

适用于

另请参阅