Bagikan melalui


Source.OnBeforeSessionEnd Method

Called just before a hidden region session is closed.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.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