Partager via


DataCollectionEvents.SessionEnd Event

Raised when a test session ends.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

'Declaration
Public MustOverride Event SessionEnd As EventHandler(Of SessionEndEventArgs)
public abstract event EventHandler<SessionEndEventArgs> SessionEnd
public:
virtual   event EventHandler<SessionEndEventArgs^>^ SessionEnd {
    void add (EventHandler<SessionEndEventArgs^>^ value);
    void remove (EventHandler<SessionEndEventArgs^>^ value);
}
abstract SessionEnd : IEvent<EventHandler<SessionEndEventArgs>,
    SessionEndEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

DataCollectionEvents Class

Microsoft.VisualStudio.TestTools.Execution Namespace