IINAddTasksIntentHandling.ResolveTargetTaskList 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
| Name | Description |
|---|---|
| ResolveTargetTaskList(INAddTasksIntent, Action<INAddTasksTargetTaskListResolutionResult>) | |
| ResolveTargetTaskList(INAddTasksIntent, Action<INTaskListResolutionResult>) |
Developers may implement this method to customize resolution of the list that will receive added tasks. |
ResolveTargetTaskList(INAddTasksIntent, Action<INAddTasksTargetTaskListResolutionResult>)
[Foundation.Export("resolveTargetTaskListForAddTasks:completion:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ResolveTargetTaskList(Intents.INAddTasksIntent intent, Action<Intents.INAddTasksTargetTaskListResolutionResult> completionHandler);
[<Foundation.Export("resolveTargetTaskListForAddTasks:completion:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ResolveTargetTaskList : Intents.INAddTasksIntent * Action<Intents.INAddTasksTargetTaskListResolutionResult> -> unit
override this.ResolveTargetTaskList : Intents.INAddTasksIntent * Action<Intents.INAddTasksTargetTaskListResolutionResult> -> unit
Parameters
- intent
- INAddTasksIntent
- completionHandler
- Action<INAddTasksTargetTaskListResolutionResult>
- Attributes
Applies to
ResolveTargetTaskList(INAddTasksIntent, Action<INTaskListResolutionResult>)
Developers may implement this method to customize resolution of the list that will receive added tasks.
[Foundation.Export("resolveTargetTaskListForAddTasks:withCompletion:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ResolveTargetTaskList(Intents.INAddTasksIntent intent, Action<Intents.INTaskListResolutionResult> completion);
[<Foundation.Export("resolveTargetTaskListForAddTasks:withCompletion:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ResolveTargetTaskList : Intents.INAddTasksIntent * Action<Intents.INTaskListResolutionResult> -> unit
override this.ResolveTargetTaskList : Intents.INAddTasksIntent * Action<Intents.INTaskListResolutionResult> -> unit
Parameters
- intent
- INAddTasksIntent
Specifies the user's intention.
- completion
- Action<INTaskListResolutionResult>
Completion method that must be called by the override.
- Attributes