---
title: es_event_get_task_inspect_t
framework: endpointsecurity
role: symbol
role_heading: Structure
path: endpointsecurity/es_event_get_task_inspect_t
---

# es_event_get_task_inspect_t

A type for an event that indicates the retrieval of a task’s inspect port.

## Declaration

```swift
struct es_event_get_task_inspect_t
```

## Overview

Overview This event represents a process that obtains a send right to a task inspect port, through SYS_task_inspect_for_pid or functions like task_identity_token_get_task_port(_:_:_:). note: For more information on ports and port rights, see the “Ports, Port Rights, Port Sets, and Port Namespaces” section of Mach Overview in the Kernel Programming Guide.

## Topics

### Inspecting Event Properties

- [target](endpointsecurity/es_event_get_task_inspect_t/target.md)
- [reserved](endpointsecurity/es_event_get_task_inspect_t/reserved.md)

### Initializers

- [init(target:type:reserved:)](endpointsecurity/es_event_get_task_inspect_t/init(target:type:reserved:).md)

### Instance Properties

- [type](endpointsecurity/es_event_get_task_inspect_t/type.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)

## See Also

### Task Port Event Types

- [es_event_get_task_t](endpointsecurity/es_event_get_task_t.md)
- [es_event_get_task_read_t](endpointsecurity/es_event_get_task_read_t.md)
- [es_event_get_task_name_t](endpointsecurity/es_event_get_task_name_t.md)
