C# Class PoshExecSvr.Service1

Inheritance: System.ServiceProcess.ServiceBase
Afficher le fichier Open project: adamdriscoll/PoshInternals Class Usage Examples

Méthodes publiques

Méthode Description
Listen ( string pipeName ) : void
Service1 ( ) : System
Start ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
OnStart ( string args ) : void

Private Methods

Méthode Description
CreateProcess ( string lpApplicationName, string lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, bool bInheritHandles, uint dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, [ lpStartupInfo, PROCESS_INFORMATION &lpProcessInformation ) : bool
CreateProcessAsUser ( IntPtr hToken, string lpApplicationName, string lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, bool bInheritHandles, uint dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, STARTUPINFO &lpStartupInfo, PROCESS_INFORMATION &lpProcessInformation ) : bool
InitializeComponent ( ) : void
WTSGetActiveConsoleSessionId ( ) : UInt32
WTSQueryUserToken ( UInt32 sessionId, IntPtr &handle ) : bool
WaitForConnectionCallBack ( IAsyncResult iar ) : void

Method Details

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Listen() public méthode

public Listen ( string pipeName ) : void
pipeName string
Résultat void

OnStart() protected méthode

protected OnStart ( string args ) : void
args string
Résultat void

Service1() public méthode

public Service1 ( ) : System
Résultat System

Start() public méthode

public Start ( ) : void
Résultat void