# DiagnosticsOptions Constructor

> Initializes a new instance of the DiagnosticsOptions class.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Constructor
- **Introduced:** 34.5.0
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web.MVC.DocumentViewer.Hosting > DiagnosticsOptions Constructor
- **37 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/diagnosticsoptions/constructor/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/diagnosticsoptions/constructor/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/diagnosticsoptions/constructor/llms-full.txt

---

### Description

Initializes a new instance of the DiagnosticsOptions class.

### Syntax

```plaintext
public DiagnosticsOptions()
```

---

## Nearby

- **Previous:** [DiagnosticsOptions Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/diagnosticsoptions/llms-full.txt)
- **Next:** [DiagnosticsOptions.TraceLevel Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/diagnosticsoptions/tracelevel-property/llms-full.txt)
