Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
When overridden in a derived class, finishes a round of directive processing.
Namespace: Microsoft.VisualStudio.TextTemplating
Assembly: Microsoft.VisualStudio.TextTemplating.12.0 (in Microsoft.VisualStudio.TextTemplating.12.0.dll)
Syntax
'Declaration
Public MustOverride Sub FinishProcessingRun
public abstract void FinishProcessingRun()
public:
virtual void FinishProcessingRun() abstract
abstract FinishProcessingRun : unit -> unit
public abstract function FinishProcessingRun()
Implements
IDirectiveProcessor.FinishProcessingRun
Remarks
Resets the state machine so that a new round of processing can begin.
Examples
The following code example shows a possible implementation for a custom directive processor. This code example is part of a larger example provided for the DirectiveProcessor class.
public override void FinishProcessingRun()
{
this.codeDomProvider = null;
directiveCount = 0;
//important: do not do this:
//the get methods below are called after this method
//and the get methods can access this field
//-----------------------------------------------------------------
//this.codeBuffer = null;
}
Public Overrides Sub FinishProcessingRun()
Me.codeDomProvider = Nothing
directiveCount = 0
'important: do not do this:
'the get methods below are called after this method
'and the get methods can access this field
'-----------------------------------------------------------------
'Me.codeBuffer = Nothing
End Sub
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TextTemplating Namespace