ディレクティブ プロセッサを開始します。
名前空間: Microsoft.VisualStudio.TextTemplating
アセンブリ: Microsoft.VisualStudio.TextTemplating.11.0 (Microsoft.VisualStudio.TextTemplating.11.0.dll 内)
構文
'宣言
Public Overrides Sub StartProcessingRun ( _
languageProvider As CodeDomProvider, _
templateContents As String, _
errors As CompilerErrorCollection _
)
public override void StartProcessingRun(
CodeDomProvider languageProvider,
string templateContents,
CompilerErrorCollection errors
)
public:
virtual void StartProcessingRun(
CodeDomProvider^ languageProvider,
String^ templateContents,
CompilerErrorCollection^ errors
) override
abstract StartProcessingRun :
languageProvider:CodeDomProvider *
templateContents:string *
errors:CompilerErrorCollection -> unit
override StartProcessingRun :
languageProvider:CodeDomProvider *
templateContents:string *
errors:CompilerErrorCollection -> unit
public override function StartProcessingRun(
languageProvider : CodeDomProvider,
templateContents : String,
errors : CompilerErrorCollection
)
パラメーター
- languageProvider
型 : System.CodeDom.Compiler.CodeDomProvider
生成された変換クラスの作成に使用されるコード ジェネレーター。
- templateContents
型 : System.String
処理されるテンプレートの内容。
- errors
型 : System.CodeDom.Compiler.CompilerErrorCollection
RequiresProvidesDirectiveProcessor が必要に応じてエラーおよび警告を追加できるコレクション。
実装
IDirectiveProcessor.StartProcessingRun(CodeDomProvider, String, CompilerErrorCollection)
例外
| 例外 | 条件 |
|---|---|
| ArgumentNullException | languageProvider は nullnull 参照 (Visual Basic では Nothing) なので、 |
| InvalidOperationException | 実行処理は既に開始されていますが、まだ終了していません。 |
解説
既定の言語プロバイダーは CSharpCodeProvider です。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
関連項目
RequiresProvidesDirectiveProcessor クラス
Microsoft.VisualStudio.TextTemplating 名前空間
StartProcessingRun