共用方式為


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, _
    e As AssemblyObsoleteEventArgs _
)
public delegate void AssemblyObsoleteEventHandler(
    Object sender,
    AssemblyObsoleteEventArgs e
)

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