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
Public Delegate Sub AssemblyObsoleteEventHandler ( _
sender As Object, _
args As AssemblyObsoleteEventArgs _
)
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
sender
Type: System.ObjectObject that raised the event.
args
Type: Microsoft.VisualStudio.Shell.Design.AssemblyObsoleteEventArgsspecific to the event that is being handled.
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.