| AspNetRequestUrlRendererIncludePort Property |
Note: This API is now obsolete.
To specify whether to include / exclude the Port. Default is false.
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 IncludePort { get; set; }
<ObsoleteAttribute("Please use the Properties flags enumeration instead. Marked obsolete on NLog.Web 5.1")>
Public Property IncludePort As Boolean
Get
Set
Dim instance As AspNetRequestUrlRenderer
Dim value As Boolean
value = instance.IncludePort
instance.IncludePort = value
[<ObsoleteAttribute("Please use the Properties flags enumeration instead. Marked obsolete on NLog.Web 5.1")>]
member IncludePort : bool with get, set
Property Value
Type:
BooleanSee Also