FileName Property
Collapse the table of content
Expand the table of content

HttpParseException.FileName Property

 

Gets the name of the file being parsed when the error occurs.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public string FileName { get; }

Property Value

Type: System.String

The physical path to the source file that is being parsed when the error occurs; otherwise, null, if the physical path is null.

The FileName property returns the physical path to the source file that has the error unless the physical path is null, in which case it returns null.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft