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
'Dichiarazione
Public Overridable Sub OnBeforeSessionEnd
'Utilizzo
Dim instance As Source
instance.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
- 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.