Calculator.Service.ServiceEventSource.ServiceEventSource C# (CSharp) Метод

ServiceEventSource() статический приватный Метод

static private ServiceEventSource ( ) : System
Результат System
        static ServiceEventSource()
        {
            // A workaround for the problem where ETW activities do not get tracked until Tasks infrastructure is initialized.
            // This problem will be fixed in .NET Framework 4.6.2.
            Task.Run(() => { }).Wait();
        }