StatusCodeOptions.QueryFormat property

Gets or sets the query format string for the status code response. If set, the middleware will append the specified query string to the path when re-executing the request pipeline. The format string should contain a single placeholder for the status code. This is only used if PathFormat is also set.

public string? QueryFormat { get; set; }

See Also