C# Class Microsoft.Tools.WindowsInstaller.PowerShell.Commands.LoggingPolicyCommandBase

Base class for Windows Installer logging cmdlets.
Inheritance: Cmdlet, ILoggingPolicyService
Afficher le fichier Open project: heaths/psmsi

Méthodes protégées

Méthode Description
GetPolicy ( ) : string

Gets the logging policy.

RemovePolicy ( ) : void

Removes the logging policy.

SetPolicy ( string value ) : void

Sets the logging policy

WriteEnumValues ( LoggingPolicies modes ) : void

Writes out the LoggingPolicies which are set individually to the pipeline.

Private Methods

Méthode Description
CreatePolicyKey ( ) : RegistryKey
ILoggingPolicyService ( ) : string
ILoggingPolicyService ( ) : void
ILoggingPolicyService ( string value ) : void
LoggingPolicyCommandBase ( ILoggingPolicyService loggingService = null ) : System

Creates a new instance of the LoggingPolicyCommandBase class using the given ILoggingPolicyService.

OpenPolicyKey ( bool writable = false ) : RegistryKey

Method Details

GetPolicy() protected méthode

Gets the logging policy.
protected GetPolicy ( ) : string
Résultat string

RemovePolicy() protected méthode

Removes the logging policy.
protected RemovePolicy ( ) : void
Résultat void

SetPolicy() protected méthode

Sets the logging policy
protected SetPolicy ( string value ) : void
value string The logging policy to set.
Résultat void

WriteEnumValues() protected méthode

Writes out the LoggingPolicies which are set individually to the pipeline.
protected WriteEnumValues ( LoggingPolicies modes ) : void
modes LoggingPolicies The which are set.
Résultat void