Share via


AssemblyObsoleteEventHandler Delegate

An event that gets raised when an assembly has become obsolete. This delegate cannot be inherited.

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

Syntax

'Declaration
Public Delegate Sub AssemblyObsoleteEventHandler ( _
    sender As Object, _
    e As AssemblyObsoleteEventArgs _
)
public delegate void AssemblyObsoleteEventHandler(
    Object sender,
    AssemblyObsoleteEventArgs e
)
public delegate void AssemblyObsoleteEventHandler(
    Object^ sender, 
    AssemblyObsoleteEventArgs^ e
)
type AssemblyObsoleteEventHandler = 
    delegate of 
        sender:Object * 
        e:AssemblyObsoleteEventArgs -> unit
JScript does not support delegates.

Parameters

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Design Namespace

AssemblyObsoleteEventArgs