Source.OnBeforeSessionEnd Method

Called just before a hidden region session is closed.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Sub OnBeforeSessionEnd
public virtual void OnBeforeSessionEnd()
public:
virtual void OnBeforeSessionEnd()
abstract OnBeforeSessionEnd : unit -> unit  
override OnBeforeSessionEnd : unit -> unit
public function OnBeforeSessionEnd()

Implements

IVsHiddenTextClient.OnBeforeSessionEnd()

Remarks

This method is called when a IVsHiddenTextSession is about to be closed. This allows you to free up any resources associated with hidden regions.

This is an implementation of IVsHiddenTextClient's OnBeforeSessionEnd method.

The base method does nothing.

.NET Framework Security

See Also

Reference

Source Class

Microsoft.VisualStudio.Package Namespace