Compartilhar via


AssemblyDeletedEventArgs Class

Contains event data for the AssemblyDeletedEvent that gets raised when an assembly is deleted.

Inheritance Hierarchy

Object
  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
Public method AssemblyDeletedEventArgs(Assembly) Initializes a new instance of the AssemblyDeletedEventArgs class for the supplied assembly.
Public method AssemblyDeletedEventArgs(Assembly, array<Type[]) Initializes a new instance of the AssemblyDeletedEventArgs class for the supplied assembly and types.

Top

Properties

  Name Description
Public property DeletedAssembly Gets the Assembly that has been deleted.
Public property DeletedTypes Gets the set of Type that have been deleted.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Shell.Design Namespace

AssemblyDeletedEventHandler

AssemblyDeleted