---
title: expirationMilliseconds
framework: network
role: symbol
role_heading: Instance Property
path: network/nwconnection/contentcontext/expirationmilliseconds
---

# expirationMilliseconds

A number of milliseconds after which sending the data associated with this context must begin, otherwise the data is discarded.

## Declaration

```swift
final let expirationMilliseconds: UInt64
```

## See Also

### Creating Custom Send Contexts

- [init(identifier:expiration:priority:isFinal:antecedent:metadata:)](network/nwconnection/contentcontext/init(identifier:expiration:priority:isfinal:antecedent:metadata:).md)
- [identifier](network/nwconnection/contentcontext/identifier.md)
- [protocolMetadata](network/nwconnection/contentcontext/protocolmetadata.md)
- [NWProtocolMetadata](network/nwprotocolmetadata.md)
- [antecedent](network/nwconnection/contentcontext/antecedent.md)
- [relativePriority](network/nwconnection/contentcontext/relativepriority.md)
