Bagikan melalui


TestExecution.AfterAssemblyInitialize Event

Occurs after the assembly initializes.

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

Syntax

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

.NET Framework Security

See Also

Reference

TestExecution Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace