C# 클래스 GSF.Console.Command.CommandProcess

상속: IDisposable
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

공개 메소드들

메소드 설명
CommandProcess ( string fileName, string arguments ) : System

Creates a new CommandProcess instance.

Dispose ( ) : void

Releases all the resources used by the CommandProcess object.

Execute ( int timeout ) : bool

Attempts to execute process.

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void
m_process_ErrorDataReceived ( object sender, DataReceivedEventArgs e ) : void
m_process_OutputDataReceived ( object sender, DataReceivedEventArgs e ) : void

메소드 상세

CommandProcess() 공개 메소드

Creates a new CommandProcess instance.
public CommandProcess ( string fileName, string arguments ) : System
fileName string File name to execute.
arguments string Command line parameters, if any. Set to empty string for none.
리턴 System

Dispose() 공개 메소드

Releases all the resources used by the CommandProcess object.
public Dispose ( ) : void
리턴 void

Execute() 공개 메소드

Attempts to execute process.
public Execute ( int timeout ) : bool
timeout int Timeout, in milliseconds, to wait for command line operation to complete.
리턴 bool