Share via


Source.OnBeforeSessionEnd Method

Called just before a hidden region session is closed.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Sub OnBeforeSessionEnd
'Usage
Dim instance As Source

instance.OnBeforeSessionEnd()
public virtual void OnBeforeSessionEnd()
public:
virtual void OnBeforeSessionEnd()
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

Source Members

Microsoft.VisualStudio.Package Namespace