ModelingTextTransformation.OnSessionChanged Method
Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)
Syntax
'Declaration
Protected Overridable Sub OnSessionChanged ( _
oldSession As ITextTemplatingSession, _
newSession As ITextTemplatingSession _
)
protected virtual void OnSessionChanged(
ITextTemplatingSession oldSession,
ITextTemplatingSession newSession
)
protected:
virtual void OnSessionChanged(
ITextTemplatingSession^ oldSession,
ITextTemplatingSession^ newSession
)
abstract OnSessionChanged :
oldSession:ITextTemplatingSession *
newSession:ITextTemplatingSession -> unit
override OnSessionChanged :
oldSession:ITextTemplatingSession *
newSession:ITextTemplatingSession -> unit
protected function OnSessionChanged(
oldSession : ITextTemplatingSession,
newSession : ITextTemplatingSession
)
Parameters
- oldSession
Type: ITextTemplatingSession
- newSession
Type: ITextTemplatingSession
.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.