Dela via


StaticWebsiteProperties.ErrorDocument404Path Property

Definition

Gets or sets a string representing the path to the error document that should be shown when a 404 is issued (meaning, when a browser requests a page that does not exist.)

public string ErrorDocument404Path { get; set; }
member this.ErrorDocument404Path : string with get, set
Public Property ErrorDocument404Path As String

Property Value

Examples

path/to/error/404.html

Applies to