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, _
    args As AssemblyObsoleteEventArgs _
)
'Usage
Dim instance As New AssemblyObsoleteEventHandler(AddressOf HandlerMethod)
public delegate void AssemblyObsoleteEventHandler(
    Object sender,
    AssemblyObsoleteEventArgs args
)
public delegate void AssemblyObsoleteEventHandler(
    Object^ sender, 
    AssemblyObsoleteEventArgs^ args
)
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