LogHelper.MarkAsUnsafeSecurityArtifact 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 SecurityArtifact.
public static object MarkAsUnsafeSecurityArtifact (object arg, Func<object,string> callbackUnsafe);
static member MarkAsUnsafeSecurityArtifact : obj * Func<obj, string> -> obj
Public Shared Function MarkAsUnsafeSecurityArtifact (arg As Object, callbackUnsafe As Func(Of Object, String)) As Object
Parameters
- arg
- Object
A log message argument to be marked as SecurityArtifact.
A callback function to log the security artifact without scrubbing.
Returns
An argument marked as SecurityArtifact.
Exceptions
if callbackUnsafe
is null.