WindowViewModel.OnWindowClosing Method
Allows Window.OnClosing hook
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Protected Friend Overridable Sub OnWindowClosing ( _
e As CancelEventArgs _
)
protected internal virtual void OnWindowClosing(
CancelEventArgs e
)
protected public:
virtual void OnWindowClosing(
CancelEventArgs^ e
)
abstract OnWindowClosing :
e:CancelEventArgs -> unit
override OnWindowClosing :
e:CancelEventArgs -> unit
function OnWindowClosing(
e : CancelEventArgs
)
Parameters
.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.