C# 클래스 Microsoft.Tools.WindowsInstaller.PowerShell.Commands.LoggingPolicyCommandBase

Base class for Windows Installer logging cmdlets.
상속: Cmdlet, ILoggingPolicyService
파일 보기 프로젝트 열기: heaths/psmsi

보호된 메소드들

메소드 설명
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