編輯

共用方式為


IINSetTaskAttributeIntentHandling.HandleSetTaskAttribute Method

Definition

Developers must override this method and invoke the T:System.Action`1 with an INSetTaskAttributeIntentResponse appropriate to the INSetTaskAttributeIntent intent.

[Foundation.Export("handleSetTaskAttribute:completion:")]
[Foundation.Preserve(Conditional=true)]
public void HandleSetTaskAttribute (Intents.INSetTaskAttributeIntent intent, Action<Intents.INSetTaskAttributeIntentResponse> completion);
abstract member 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