Compartilhar via


Logging.TryInitialize Method ()

 

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

Provides explicit initialization of logging listeners, rather than defering to first use of the Logging class. Use of this method is not required.

Namespace:   Microsoft.Uii.Common.Logging
Assembly:  Microsoft.Uii.Common.Logging (in Microsoft.Uii.Common.Logging.dll)

Syntax

public static void TryInitialize()
Public Shared Sub TryInitialize

Exceptions

Exception Condition
ConfigurationErrorsException

Configuration-related exceptions are wrapped in this common exception type.

See Also

Logging Class
Microsoft.Uii.Common.Logging Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright