Logging.TryInitialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.