Executor 類別

定義

提供叫用 (Invoke) 編輯器的命令執行函式。 此類別無法獲得繼承。

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 實作叫用。

注意

此類別包含套用至所有成員之類別層級的連結需求。 SecurityException當立即呼叫端沒有完全信任權限時,會擲回 。 如需詳細資訊,請參閱 連結需求

方法

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)

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

適用於