AuditLog.Log Method (String, LogData)
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)
Usage
'Usage
Dim auditFlagName As String
Dim logData As LogData
AuditLog.Log(auditFlagName, logData)
Syntax
'Declaration
Public Shared Sub Log ( _
auditFlagName As String, _
logData As LogData _
)
public static void Log (
string auditFlagName,
LogData logData
)
public:
static void Log (
String^ auditFlagName,
LogData^ logData
)
public static void Log (
String auditFlagName,
LogData logData
)
public static function Log (
auditFlagName : String,
logData : LogData
)
Parameters
- auditFlagName
Specifies the arbitrary audit flag identifier
- logData
Audit log record where ToString() will be used to extract contents.
Remarks
Caching done based on the NoCache property. Message will be logged only if GetAuditFlag(auditFlagName) returns non-zero. Use SetAuditFlag(auditFlagName) to set.
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.
Platforms
See Also
Reference
AuditLog Class
AuditLog Members
Microsoft.Uii.Csr Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.