Share via


AuditLog.Log Method (String, LogData)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Logs the messages to the database using the AuditLog web service asynchronously.

Namespace:   Microsoft.Uii.Csr
Assembly:  Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Syntax

public static void Log(
    string auditFlagName,
    LogData logData
)
Public Shared Sub Log (
    auditFlagName As String,
    logData As LogData
)

Parameters

  • auditFlagName
    Type: System.String

    Specifies the arbitrary audit flag identifier

Remarks

Caching done based on the NoCache property. Message will be logged only if GetAuditFlag(auditFlagName) returns non-zero. Use SetAuditFlag(auditFlagName) to set.

See Also

Log Overload
AuditLog Class
Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright