C# 클래스 NanoByte.Common.Native.WindowsRestartManager

Provides an interface to the Windows Restart Manager. Supported on Windows Vista or newer.
See https://msdn.microsoft.com/en-us/library/windows/desktop/cc948910
상속: System.MarshalByRefObject, IDisposable
파일 보기 프로젝트 열기: nano-byte/common 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Ends the Restart Manager session.

WindowsRestartManager ( ) : System

Starts a new Restart Manager session.

비공개 메소드들

메소드 설명
BuildException ( int error ) : Exception

Builds a suitable Exception for a given Win32Exception.NativeErrorCode.

CancellationCallback ( ) : void
DisposeNative ( ) : void
ListAppProblems ( bool &permissionDenied ) : IEnumerable
ListApps ( [ handler ) : string[]
ListAppsInternal ( uint &arrayLength, System.NativeMethods &rebootReasons ) : NativeMethods.RM_PROCESS_INFO[]
RegisterResources ( ) : void
RestartApps ( [ handler ) : void
RestartAppsWork ( PercentProgressCallback progressCallback ) : void
ShutdownApps ( [ handler ) : void
ShutdownAppsWork ( PercentProgressCallback progressCallback ) : void

메소드 상세

Dispose() 공개 메소드

Ends the Restart Manager session.
public Dispose ( ) : void
리턴 void

WindowsRestartManager() 공개 메소드

Starts a new Restart Manager session.
The Restart Manager API returned an error. The current platform does not support the Restart Manager. Needs Windows Vista or newer.
public WindowsRestartManager ( ) : System
리턴 System