C# Класс Microsoft.Tools.WindowsInstaller.PowerShell.Commands.LoggingPolicyCommandBase

Base class for Windows Installer logging cmdlets.
Наследование: Cmdlet, ILoggingPolicyService
Показать файл Открыть проект

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

GetPolicy() защищенный Метод

Gets the logging policy.
protected GetPolicy ( ) : string
Результат string

RemovePolicy() защищенный Метод

Removes the logging policy.
protected RemovePolicy ( ) : void
Результат void

SetPolicy() защищенный Метод

Sets the logging policy
protected SetPolicy ( string value ) : void
value string The logging policy to set.
Результат void

WriteEnumValues() защищенный Метод

Writes out the LoggingPolicies which are set individually to the pipeline.
protected WriteEnumValues ( LoggingPolicies modes ) : void
modes LoggingPolicies The which are set.
Результат void