Share via


Logging.TryInitialize Method

Definition

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

public:
 static void TryInitialize();
public static void TryInitialize ();
static member TryInitialize : unit -> unit
Public Shared Sub TryInitialize ()

Exceptions

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

Applies to