AssemblyDeletedEventArgs Class
Contains event data for the AssemblyDeletedEvent that gets raised when an assembly is deleted.
Inheritance Hierarchy
System.Object
System.EventArgs
Microsoft.VisualStudio.Shell.Design.AssemblyDeletedEventArgs
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣告
Public NotInheritable Class AssemblyDeletedEventArgs _
Inherits EventArgs
public sealed class AssemblyDeletedEventArgs : EventArgs
The AssemblyDeletedEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AssemblyDeletedEventArgs(Assembly) | Initializes a new instance of the AssemblyDeletedEventArgs class for the supplied assembly. | |
AssemblyDeletedEventArgs(Assembly, array<Type[]) | Initializes a new instance of the AssemblyDeletedEventArgs class for the supplied assembly and types. |
Top
Properties
Name | Description | |
---|---|---|
DeletedAssembly | Gets the Assembly that has been deleted. | |
DeletedTypes | Gets the set of Type that have been deleted. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
The AssemblyDeleted event is raised when a type resolution service calls the OnAssemblyDeleted. The type resolution service should do this when it detects that an assembly it loaded no longer exists.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.