LogHelper.MarkAsNonPII(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Marks a log message argument (arg
) as NonPII.
public static object MarkAsNonPII (object arg);
static member MarkAsNonPII : obj -> obj
Public Shared Function MarkAsNonPII (arg As Object) As Object
Parameters
- arg
- Object
A log message argument to be marked as NonPII.
Returns
An argument marked as NonPII.
Remarks
Marking an argument as NonPII in FormatInvariant(String, Object[]) calls will result in logging that argument in cleartext, regardless of the ShowPII flag value.