GeneralFunctions.WriteToApplicationEventLog Method (String, EventLogEntryType)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Writes to the application event log.
Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)
Syntax
public static void WriteToApplicationEventLog(
string message,
EventLogEntryType type
)
Public Shared Sub WriteToApplicationEventLog (
message As String,
type As EventLogEntryType
)
Parameters
message
Type: System.StringSpecifies the message to log
type
Type: System.Diagnostics.EventLogEntryTypeSpecifies the log Type
Remarks
The intended purpose is to use this as a "last resort" for logging when some failure prevents from writing to listeners.
See Also
GeneralFunctions Class
Microsoft.Uii.Common Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright