---
title: "Enum DetectionType"
url: "https://reference.aspose.com/email/net/aspose.email.clients.activity/detectiontype/"
product: "Aspose.Email for .NET API Reference"
description: "Aspose.Email.Clients.Activity.DetectionType enum. The type of detection"
---

## DetectionType enumeration

The type of detection.

```csharp
public enum DetectionType
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Inline | `0` | Threat detected at delivery time. |
| Delayed | `1` | Threat detected after delivery. |
| ZAP | `2` | Messages removed by Zero hour auto purge. Events with this detection type will typically be preceded by a message with a “Delayed” detection type. |

### See Also

* namespace [Aspose.Email.Clients.Activity](../../aspose.email.clients.activity/)
* assembly [Aspose.Email](../../)


