Executor 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供叫用 (Invoke) 編輯器的命令執行函式。 此類別無法獲得繼承。
public ref class Executor abstract sealed
public ref class Executor sealed
C#
public static class Executor
C#
public sealed class Executor
type Executor = class
Public Class Executor
Public NotInheritable Class Executor
- 繼承
-
Executor
這個類別提供一組方法,可用來叫用編譯程式,通常是從 ICodeCompiler 實作叫用。
注意
此類別包含套用至所有成員之類別層級的連結需求。 SecurityException當立即呼叫端沒有完全信任權限時,會擲回 。 如需詳細資訊,請參閱 連結需求。
Exec |
使用指定的暫存檔來執行命令,並等候呼叫傳回。 |
Exec |
使用指定的使用者語彙基元、目前的目錄和暫存檔來執行指定的命令,然後等候呼叫傳回,將編譯器的輸出和錯誤資訊儲存在指定的字串中。 |
Exec |
使用指定的使用者語彙基元和暫存檔來執行指定的命令,並等候呼叫傳回,將編譯器的輸出和錯誤資訊儲存在指定的字串。 |
Exec |
使用指定的目前目錄和暫存檔來執行指定的命令,並等候呼叫傳回,將編譯器的輸出和錯誤資訊儲存在指定的字串。 |
Exec |
使用指定的暫存檔來執行指定的命令,並等待呼叫傳回,將編譯器的輸出和錯誤資訊儲存在指定的字串。 |
產品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |