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
'Declaration
Public NotInheritable Class AssemblyDeletedEventArgs _
Inherits EventArgs
public sealed class AssemblyDeletedEventArgs : EventArgs
public ref class AssemblyDeletedEventArgs sealed : public EventArgs
[<Sealed>]
type AssemblyDeletedEventArgs =
class
inherit EventArgs
end
public final class AssemblyDeletedEventArgs extends 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.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (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.