संपादित करें

इसके माध्यम से साझा किया गया


Executor Class

Definition

Provides command execution functions for invoking compilers. This class cannot be inherited.

public ref class Executor abstract sealed
public ref class Executor sealed
public static class Executor
public sealed class Executor
type Executor = class
Public Class Executor
Public NotInheritable Class Executor
Inheritance
Executor

Remarks

This class provides a collection of methods that can be used to invoke a compiler, typically from an ICodeCompiler implementation.

Note

This class contains a link demand at the class level that applies to all members. A SecurityException is thrown when the immediate caller does not have full-trust permission. For more information, see Link Demands.

Methods

ExecWait(String, TempFileCollection)

Executes the command using the specified temporary files and waits for the call to return.

ExecWaitWithCapture(IntPtr, String, String, TempFileCollection, String, String)

Executes the specified command using the specified user token, current directory, and temporary files; then waits for the call to return, storing output and error information from the compiler in the specified strings.

ExecWaitWithCapture(IntPtr, String, TempFileCollection, String, String)

Executes the specified command using the specified user token and temporary files, and waits for the call to return, storing output and error information from the compiler in the specified strings.

ExecWaitWithCapture(String, String, TempFileCollection, String, String)

Executes the specified command using the specified current directory and temporary files, and waits for the call to return, storing output and error information from the compiler in the specified strings.

ExecWaitWithCapture(String, TempFileCollection, String, String)

Executes the specified command using the specified temporary files and waits for the call to return, storing output and error information from the compiler in the specified strings.

Applies to