---
title: kCFMessagePortIsInvalid
framework: corefoundation
role: symbol
role_heading: Global Variable
path: corefoundation/kcfmessageportisinvalid
---

# kCFMessagePortIsInvalid

The message could not be sent because the message port is invalid.

## Declaration

```swift
var kCFMessagePortIsInvalid: Int32 { get }
```

## See Also

### Constants

- [kCFMessagePortSuccess](corefoundation/kcfmessageportsuccess.md)
- [kCFMessagePortSendTimeout](corefoundation/kcfmessageportsendtimeout.md)
- [kCFMessagePortReceiveTimeout](corefoundation/kcfmessageportreceivetimeout.md)
- [kCFMessagePortTransportError](corefoundation/kcfmessageporttransporterror.md)
- [kCFMessagePortBecameInvalidError](corefoundation/kcfmessageportbecameinvaliderror.md)
