다음을 통해 공유


DataCollectionEvents.SessionEnd 이벤트

테스트 세션이 끝날 때 발생합니다.

네임스페이스:  Microsoft.VisualStudio.TestTools.Execution
어셈블리:  Microsoft.VisualStudio.QualityTools.ExecutionCommon(Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

구문

‘선언
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에서는 이벤트를 지원하지 않습니다.

.NET Framework 보안

참고 항목

참조

DataCollectionEvents 클래스

Microsoft.VisualStudio.TestTools.Execution 네임스페이스