---
title: contextName
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nspersistenthistorytransaction/contextname
---

# contextName

The originating context’s name.

## Declaration

```swift
var contextName: String? { get }
```

## Mentioned in

Consuming relevant store changes

## See Also

### Inspecting Transaction Details

- [author](coredata/nspersistenthistorytransaction/author.md)
- [bundleID](coredata/nspersistenthistorytransaction/bundleid.md)
- [changes](coredata/nspersistenthistorytransaction/changes.md)
- [processID](coredata/nspersistenthistorytransaction/processid.md)
- [storeID](coredata/nspersistenthistorytransaction/storeid.md)
- [timestamp](coredata/nspersistenthistorytransaction/timestamp.md)
- [token](coredata/nspersistenthistorytransaction/token.md)
- [transactionNumber](coredata/nspersistenthistorytransaction/transactionnumber.md)
