KestrunHost.PowerShellErrorResponseScript property
Gets or sets an optional PowerShell script used by PowerShell route execution to generate error responses. The script executes in the request runspace and is responsible for writing the response.
public string? PowerShellErrorResponseScript { get; set; }
See Also
- class KestrunHost
- namespace Kestrun.Hosting