ActivationSignalDetector.CreateConfigurationWithResultAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Aynchronously creates an ActivationSignalDetectionConfigurationCreationResult object associated with the specified ActivationSignalDetectionConfiguration.SignalId and ActivationSignalDetectionConfiguration.ModelId pair, adds it to the collection of supported configurations for the detector, along with an indicator of success.
public:
virtual IAsyncOperation<ActivationSignalDetectionConfigurationCreationResult ^> ^ CreateConfigurationWithResultAsync(Platform::String ^ signalId, Platform::String ^ modelId, Platform::String ^ displayName) = CreateConfigurationWithResultAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ActivationSignalDetectionConfigurationCreationResult> CreateConfigurationWithResultAsync(winrt::hstring const& signalId, winrt::hstring const& modelId, winrt::hstring const& displayName);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ActivationSignalDetectionConfigurationCreationResult> CreateConfigurationWithResultAsync(string signalId, string modelId, string displayName);
function createConfigurationWithResultAsync(signalId, modelId, displayName)
Public Function CreateConfigurationWithResultAsync (signalId As String, modelId As String, displayName As String) As IAsyncOperation(Of ActivationSignalDetectionConfigurationCreationResult)
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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for