C# 클래스 Microsoft.Tools.WindowsInstaller.SystemRestoreTestService

Service provider used for testing system restore points without actually creating them (requires elevation).
상속: ISystemRestoreService
파일 보기 프로젝트 열기: heaths/psmsi 1 사용 예제들

Private Properties

프로퍼티 타입 설명
SetNextErrorCode void
SystemRestoreTestService

공개 메소드들

메소드 설명
SetRestorePoint ( RestorePointInfo info, StateManagerStatus &status ) : bool

Creates or modifies the system restore point.

The error code is reset to 0 (success) after each call.

비공개 메소드들

메소드 설명
SetNextErrorCode ( int errorCode ) : void

Sets the next error code.

SystemRestoreTestService ( long sequenceNumber = 1 )

Creates a new instance of the test ISystemRestoreService provider.

메소드 상세

SetRestorePoint() 공개 메소드

Creates or modifies the system restore point.
The error code is reset to 0 (success) after each call.
public SetRestorePoint ( RestorePointInfo info, StateManagerStatus &status ) : bool
info RestorePointInfo Information about the restore point to create or modify.
status StateManagerStatus Status information of the restore point created or modified.
리턴 bool