| AspNetRequestUrlRendererIncludeHost Property |
Note: This API is now obsolete.
To specify whether to exclude / include the host. Default is true.
Namespace:
NLog.Web.LayoutRenderers
Assemblies:
NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
NLog.Web (in NLog.Web.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
Syntax [ObsoleteAttribute("Please use the Properties flags enumeration instead. Marked obsolete on NLog.Web 5.1")]
public bool IncludeHost { get; set; }
<ObsoleteAttribute("Please use the Properties flags enumeration instead. Marked obsolete on NLog.Web 5.1")>
Public Property IncludeHost As Boolean
Get
Set
Dim instance As AspNetRequestUrlRenderer
Dim value As Boolean
value = instance.IncludeHost
instance.IncludeHost = value
[<ObsoleteAttribute("Please use the Properties flags enumeration instead. Marked obsolete on NLog.Web 5.1")>]
member IncludeHost : bool with get, set
Property Value
Type:
BooleanSee Also