Executor Class

 

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

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

System.Object
  System.CodeDom.Compiler.Executor

[PermissionSetAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
public static class Executor

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticExecWait(String, TempFileCollection)

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

System_CAPS_pubmethodSystem_CAPS_staticExecWaitWithCapture(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.

System_CAPS_pubmethodSystem_CAPS_staticExecWaitWithCapture(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.

System_CAPS_pubmethodSystem_CAPS_staticExecWaitWithCapture(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.

System_CAPS_pubmethodSystem_CAPS_staticExecWaitWithCapture(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.

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

System_CAPS_noteNote

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.

SecurityAction.LinkDemand

for full trust for the immediate caller. This class cannot be used by partially trusted code.

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: