Udostępnij za pośrednictwem


Metoda RequiresProvidesDirectiveProcessor.StartProcessingRun —

Uruchamia dyrektywa procesora.

Przestrzeń nazw:  Microsoft.VisualStudio.TextTemplating
Zestaw:  Microsoft.VisualStudio.TextTemplating.11.0 (w Microsoft.VisualStudio.TextTemplating.11.0.dll)

Składnia

'Deklaracja
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
)

Parametry

  • templateContents
    Typ: System.String
    Zawartość szablonu, który jest przetwarzana.

Implementuje

IDirectiveProcessor.StartProcessingRun(CodeDomProvider, String, CompilerErrorCollection)

Wyjątki

Wyjątek Warunek
ArgumentNullException

languageProvideris nullodwołanie o wartości null (Nothing w języku Visual Basic).

InvalidOperationException

Przetwarzania, uruchom została już rozpoczęta, ale jeszcze nie została zakończona.

Uwagi

Dostawca domyślny język jest CSharpCodeProvider.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

RequiresProvidesDirectiveProcessor Klasa

Przestrzeń nazw Microsoft.VisualStudio.TextTemplating

FinishProcessingRun

StartProcessingRun

CodeDomProvider

VBCodeProvider

CSharpCodeProvider