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: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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.
Public propertyThrowExceptions
Whether installation exceptions should be rethrown. If IgnoreFailures is set to true, this property has no effect (there are no exceptions to rethrow).
Top
Methods
  NameDescription
Public methodCreateLogEvent
Creates the log event which can be used to render layouts during install/uninstall.
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