Compartir a través de


AssemblyObsoleteEventArgs Class

Represents an argument class for the AssemblyObsolete event. This class cannot be inherited.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaración
Public NotInheritable Class AssemblyObsoleteEventArgs _
    Inherits EventArgs
'Uso
Dim instance As AssemblyObsoleteEventArgs
public sealed class AssemblyObsoleteEventArgs : EventArgs
public ref class AssemblyObsoleteEventArgs sealed : public EventArgs
[<SealedAttribute>]
type AssemblyObsoleteEventArgs =  
    class
        inherit EventArgs
    end
public final class AssemblyObsoleteEventArgs extends EventArgs

Remarks

The AssemblyObsolete event is raised when a type resolution service calls the OnAssemblyObsolete. The type resolution service should do this when it detects that an assembly it loaded is no longer valid. This can happen if the assembly is rebuilt by a developer.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.VisualStudio.Shell.Design.AssemblyObsoleteEventArgs

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

AssemblyObsoleteEventArgs Members

Microsoft.VisualStudio.Shell.Design Namespace

AssemblyObsoleteEventHandler

AssemblyObsolete