Share via


IINSetTaskAttributeIntentHandling.HandleSetTaskAttribute Method

Definition

Developers must override this method and invoke the Action<T> with an INSetTaskAttributeIntentResponse appropriate to the INSetTaskAttributeIntent intent.

[Foundation.Export("handleSetTaskAttribute:completion:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void HandleSetTaskAttribute(Intents.INSetTaskAttributeIntent intent, Action<Intents.INSetTaskAttributeIntentResponse> completion);
[<Foundation.Export("handleSetTaskAttribute:completion:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member HandleSetTaskAttribute : Intents.INSetTaskAttributeIntent * Action<Intents.INSetTaskAttributeIntentResponse> -> unit
override this.HandleSetTaskAttribute : Intents.INSetTaskAttributeIntent * Action<Intents.INSetTaskAttributeIntentResponse> -> unit

Parameters

intent
INSetTaskAttributeIntent

Specifies the user's intention.

completion
Action<INSetTaskAttributeIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to