Compartilhar via


AuditLog Class

 

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

Provides services for logging the audit related messages. It caches the messages before updating the DB. It uses asynchronous calls to web services.

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

Inheritance Hierarchy

System.Object
  Microsoft.Uii.Csr.AuditLog

Syntax

public static class AuditLog
Public NotInheritable Class AuditLog

Properties

Name Description
System_CAPS_pubpropertySystem_CAPS_static CacheMaxSize

Gets or sets the maximum size of the audit log cache.

System_CAPS_pubpropertySystem_CAPS_static NoCache

Gets or sets a Boolean value that specifies whether audit messages should be cached.

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static GetAuditFlag(String)

Retrieves the value for the specified audit flag.

System_CAPS_pubmethodSystem_CAPS_static Log(AuditType, LogData)

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

System_CAPS_pubmethodSystem_CAPS_static Log(String, LogData)

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

System_CAPS_pubmethodSystem_CAPS_static SetAuditFlag(String, String)

Sets the value for the specified audit flag.

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static AuditFlagAction

Specifies the default set of audit flags.

System_CAPS_pubfieldSystem_CAPS_static AuditFlagAgentState

Specifies the default set of audit flags

System_CAPS_pubfieldSystem_CAPS_static AuditFlagHostedApplication

Specifies the default set of audit flags

System_CAPS_pubfieldSystem_CAPS_static AuditFlagInteraction

Specifies the default set of audit flags

System_CAPS_pubfieldSystem_CAPS_static AuditFlagLogin

Specifies the default set of audit flags

System_CAPS_pubfieldSystem_CAPS_static AuditFlagNonHostedApplication

Specifies the default set of audit flags.

System_CAPS_pubfieldSystem_CAPS_static AuditFlagSession

Specifies the default set of audit flags

System_CAPS_pubfieldSystem_CAPS_static AuditFlagWorkFlow

Specifies the default set of audit flags.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright