C# Класс GSF.Console.Command.CommandProcess

Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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