ISkillDescriptor.CreateSkillAsync 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.
Overloads
| CreateSkillAsync() |
Creates a skill which holds the description and requirements given by this ISkillDescriptor. Let the skill decide the optimal or default ISkillExecutionDevice available to use. |
| CreateSkillAsync(ISkillExecutionDevice) |
Creates a skill which holds the information given by this ISkillDescriptor. |
CreateSkillAsync()
Creates a skill which holds the description and requirements given by this ISkillDescriptor. Let the skill decide the optimal or default ISkillExecutionDevice available to use.
public:
Windows::Foundation::IAsyncOperation<Microsoft::AI::Skills::SkillInterfacePreview::ISkill ^> ^ CreateSkillAsync();
[Windows.Foundation.Metadata.Overload("CreateSkillAsync")]
public Windows.Foundation.IAsyncOperation<Microsoft.AI.Skills.SkillInterfacePreview.ISkill> CreateSkillAsync ();
abstract member CreateSkillAsync : unit -> Windows.Foundation.IAsyncOperation<Microsoft.AI.Skills.SkillInterfacePreview.ISkill>
Public Function CreateSkillAsync () As IAsyncOperation(Of ISkill)
Returns
- Windows.Foundation.IAsyncOperation<ISkill>
The ISkill created.
- Attributes
-
Windows.Foundation.Metadata.OverloadAttribute
Applies to
CreateSkillAsync(ISkillExecutionDevice)
Creates a skill which holds the information given by this ISkillDescriptor.
public:
Windows::Foundation::IAsyncOperation<Microsoft::AI::Skills::SkillInterfacePreview::ISkill ^> ^ CreateSkillAsync(Microsoft::AI::Skills::SkillInterfacePreview::ISkillExecutionDevice ^ executionDevice);
[Windows.Foundation.Metadata.Overload("CreateSkillAsync2")]
public Windows.Foundation.IAsyncOperation<Microsoft.AI.Skills.SkillInterfacePreview.ISkill> CreateSkillAsync (Microsoft.AI.Skills.SkillInterfacePreview.ISkillExecutionDevice executionDevice);
abstract member CreateSkillAsync : Microsoft.AI.Skills.SkillInterfacePreview.ISkillExecutionDevice -> Windows.Foundation.IAsyncOperation<Microsoft.AI.Skills.SkillInterfacePreview.ISkill>
Public Function CreateSkillAsync (executionDevice As ISkillExecutionDevice) As IAsyncOperation(Of ISkill)
Parameters
- executionDevice
- ISkillExecutionDevice
The execution device with which to instantiate the skill, which will be leveraged to execute the skill's logic.
Returns
- Windows.Foundation.IAsyncOperation<ISkill>
The ISkill created.
- Attributes
-
Windows.Foundation.Metadata.OverloadAttribute