ISkillFeatureDescriptor.CreateValueAsync(Object, ISkillExecutionDevice) Method

Definition

Creates an ISkillFeatureValue according to the format this instance describes in the memory space of the specified device.

public:
 Windows::Foundation::IAsyncOperation<Microsoft::AI::Skills::SkillInterfacePreview::ISkillFeatureValue ^> ^ CreateValueAsync(System::Object ^ value, Microsoft::AI::Skills::SkillInterfacePreview::ISkillExecutionDevice ^ device);
public Windows.Foundation.IAsyncOperation<Microsoft.AI.Skills.SkillInterfacePreview.ISkillFeatureValue> CreateValueAsync (object value, Microsoft.AI.Skills.SkillInterfacePreview.ISkillExecutionDevice device);
abstract member CreateValueAsync : obj * Microsoft.AI.Skills.SkillInterfacePreview.ISkillExecutionDevice -> Windows.Foundation.IAsyncOperation<Microsoft.AI.Skills.SkillInterfacePreview.ISkillFeatureValue>
Public Function CreateValueAsync (value As Object, device As ISkillExecutionDevice) As IAsyncOperation(Of ISkillFeatureValue)

Parameters

value
Object

The value from which to create the ISkillFeatureValue.

device
ISkillExecutionDevice

The execution device to be used by the skill which dictates the memory space.

Returns

Windows.Foundation.IAsyncOperation<ISkillFeatureValue>

The ISkillFeatureValue created from the value passed as an argument.

Applies to