Executor 類別

定義

提供指令執行功能以呼叫編譯器。 無法繼承這個類別。

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
繼承
Executor

備註

此類別提供一組可用於呼叫編譯器的方法,通常是從實 ICodeCompiler 作中呼叫。

備註

此類別包含一個類別層級的連結需求,適用於所有成員。 當直接呼叫者沒有完全信任權限時,會拋出 A SecurityException

方法

名稱 Description
ExecWait(String, TempFileCollection)

使用指定的暫存檔案執行指令,並等待呼叫回傳。

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

使用指定的使用者標記、目前目錄及暫存檔案執行指定指令;然後等待呼叫回傳,將編譯器的輸出與錯誤資訊儲存在指定的字串中。

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

使用指定的使用者標記與暫存檔案執行指定指令,並等待呼叫回傳,將編譯器的輸出與錯誤資訊儲存在指定的字串中。

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

使用指定的當前目錄與暫存檔案執行指定指令,並等待呼叫回傳,將編譯器的輸出與錯誤資訊儲存在指定的字串中。

ExecWaitWithCapture(String, TempFileCollection, String, String)

使用指定的暫存檔案執行指定指令,並等待呼叫回傳,將編譯器的輸出與錯誤資訊儲存在指定的字串中。

適用於