This topic has not yet been rated - Rate this topic

ITextTemplating.BeginErrorSession Method

Call this method before you process multiple text templates. Each type of error will be reported only once, until you call EndErrorSession.

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.Interfaces.10.0 (in Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll)
void BeginErrorSession()

This method reduces the number of errors reported when you process a batch of templates, by removing duplicate reports of the same error. Call BeginErrorSession before processing the batch of templates, and call EndErrorSession afterwards.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Advertisement