共用方式為


TestExecution.AfterAssemblyCleanup Event

Occurs after the assembly finishes cleanup.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

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

.NET Framework Security

See Also

Reference

TestExecution Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace