Dela via


ActivationSignalDetector.CreateConfiguration(String, String, String) Method

Definition

Creates an ActivationSignalDetectionConfiguration object associated with the specified ActivationSignalDetectionConfiguration.SignalId and ActivationSignalDetectionConfiguration.ModelId pair and adds it to the collection of supported configurations for the detector.

Important

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

public:
 virtual void CreateConfiguration(Platform::String ^ signalId, Platform::String ^ modelId, Platform::String ^ displayName) = CreateConfiguration;
void CreateConfiguration(winrt::hstring const& signalId, winrt::hstring const& modelId, winrt::hstring const& displayName);
public void CreateConfiguration(string signalId, string modelId, string displayName);
function createConfiguration(signalId, modelId, displayName)
Public Sub CreateConfiguration (signalId As String, modelId As String, displayName As String)

Parameters

signalId
String

Platform::String

winrt::hstring

The locale-independent identifier for this configuration.

modelId
String

Platform::String

winrt::hstring

The unique identifier, typically locale-specific, for the model data associated with this configuration.

displayName
String

Platform::String

winrt::hstring

The name of the signal in a localizable, human-readable form.

Applies to

See also