 | AspNetRequestUrlLayoutRendererIncludePort 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: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
NLog.Web (in NLog.Web.dll) Version: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
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 AspNetRequestUrlLayoutRenderer
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:
Boolean
See Also