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

# unsupported(forReason:)

Creates an object whose resolution provides a reason why the temporal event trigger cannot be applied to the task the user intends to create.

## Declaration

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

## Parameters

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

## Return Value

Return Value A new INAddTasksTemporalEventTriggerResolutionResult 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/inaddtaskstemporaleventtriggerresolutionresult/init(temporaleventtriggerresolutionresult:).md)
- [INAddTasksTemporalEventTriggerUnsupportedReason](intents/inaddtaskstemporaleventtriggerunsupportedreason.md)
