Click or drag to resize
InstallationContext Class
Provides context for install/uninstall operations.
Inheritance Hierarchy
SystemObject
  NLog.ConfigInstallationContext

Namespace: NLog.Config
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
public sealed class InstallationContext : IDisposable

The InstallationContext type exposes the following members.

Constructors
  NameDescription
Public methodInstallationContext
Initializes a new instance of the InstallationContext class.
Public methodInstallationContext(TextWriter)
Initializes a new instance of the InstallationContext class.
Top
Properties
  NameDescription
Public propertyIgnoreFailures
Gets or sets a value indicating whether to ignore failures during installation.
Public propertyLogLevel
Gets or sets the installation log level.
Public propertyLogOutput
Gets or sets the log output.
Public propertyParameters
Gets the installation parameters.
Top
Methods
  NameDescription
Public methodCreateLogEvent
Creates the log event which can be used to render layouts during installation/uninstallations.
Public methodDebug
Logs the specified debug message.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodError
Logs the specified error message.
Public methodInfo
Logs the specified informational message.
Public methodTrace
Logs the specified trace message.
Public methodWarning
Logs the specified warning message.
Top
See Also