SkillFeature.Create(ISkillFeatureDescriptor, ISkillExecutionDevice) 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.
Instantiates a SkillFeature.
public:
static Microsoft::AI::Skills::SkillInterfacePreview::SkillFeature ^ Create(Microsoft::AI::Skills::SkillInterfacePreview::ISkillFeatureDescriptor ^ descriptor, Microsoft::AI::Skills::SkillInterfacePreview::ISkillExecutionDevice ^ device);
public static Microsoft.AI.Skills.SkillInterfacePreview.SkillFeature Create (Microsoft.AI.Skills.SkillInterfacePreview.ISkillFeatureDescriptor descriptor, Microsoft.AI.Skills.SkillInterfacePreview.ISkillExecutionDevice device);
static member Create : Microsoft.AI.Skills.SkillInterfacePreview.ISkillFeatureDescriptor * Microsoft.AI.Skills.SkillInterfacePreview.ISkillExecutionDevice -> Microsoft.AI.Skills.SkillInterfacePreview.SkillFeature
Public Shared Function Create (descriptor As ISkillFeatureDescriptor, device As ISkillExecutionDevice) As SkillFeature
Parameters
- descriptor
- ISkillFeatureDescriptor
The ISkillFeatureDescriptor associated with this feature.
- device
- ISkillExecutionDevice
The execution device that the consuming skill is instantiated with which indicates what memory space the feature should be mapped to.
Returns
The SkillFeature that was created.