src/NLog/Targets/EventLogTarget.cs
/// <summary>
/// Performs installation which requires administrative permissions.
/// </summary>
/// <param name="installationContext">The installation context.</param>
Performs installation which requires administrative permissions.
Performs installation which requires administrative permissions .
public void Install(InstallationContext installationContext)
        {
            CreateEventSourceIfNeeded(GetFixedSource(), true);
        }
public void Install ( InstallationContext installationContext ) { CreateEventSourceIfNeeded ( GetFixedSource ( ) , true ) ; }
Performs installation which requires administrative permissions.
Performs installation which requires administrative permissions .
// always throw error to keep backwards compatible behavior.
installationContext
InstallationContext
The installation context.
The installation context .