Partager via


DataCollectionEvents.SessionStart Event

Raised when a test session starts.

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

Syntax

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

.NET Framework Security

See Also

Reference

DataCollectionEvents Class

Microsoft.VisualStudio.TestTools.Execution Namespace