---
title: stopMonitoring()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/netservice/stopmonitoring()
---

# stopMonitoring()

Stops the monitoring of TXT-record updates for the receiver.

## Declaration

```swift
func stopMonitoring()
```

## See Also

### Using Network Services

- [publish()](foundation/netservice/publish().md)
- [publish(options:)](foundation/netservice/publish(options:).md)
- [resolve()](foundation/netservice/resolve().md)
- [resolve(withTimeout:)](foundation/netservice/resolve(withtimeout:).md)
- [port](foundation/netservice/port.md)
- [startMonitoring()](foundation/netservice/startmonitoring().md)
- [stop()](foundation/netservice/stop().md)
