---
title: "unsupported(forReason:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/insettaskattributetemporaleventtriggerresolutionresult/unsupported(forreason:)"
---

# unsupported(forReason:)

Creates an object with a resolution that provides a reason the temporal event trigger can’t be applied to the task the user intends to modify.

## Declaration

```swift
class func unsupported(forReason reason: INSetTaskAttributeTemporalEventTriggerUnsupportedReason) -> Self
```

## Parameters

- `reason`: The reason that the temporal event trigger is not supported.

## Return Value

Return Value A new INSetTaskAttributeTemporalEventTriggerResolutionResult object.

## Discussion

Discussion Use this method to create a resolution result object when your app doesn’t support the intent parameter for the specified reason.

## See Also

### Creating a Resolution Result

- [init(temporalEventTriggerResolutionResult:)](intents/insettaskattributetemporaleventtriggerresolutionresult/init(temporaleventtriggerresolutionresult:).md)
- [INSetTaskAttributeTemporalEventTriggerUnsupportedReason](intents/insettaskattributetemporaleventtriggerunsupportedreason.md)
