AssemblyObsoleteEventArgs Class
Represents an argument class for the AssemblyObsolete event. This class cannot be inherited.
Inheritance Hierarchy
System.Object
System.EventArgs
Microsoft.VisualStudio.Shell.Design.AssemblyObsoleteEventArgs
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public NotInheritable Class AssemblyObsoleteEventArgs _
Inherits EventArgs
public sealed class AssemblyObsoleteEventArgs : EventArgs
public ref class AssemblyObsoleteEventArgs sealed : public EventArgs
[<Sealed>]
type AssemblyObsoleteEventArgs =
class
inherit EventArgs
end
public final class AssemblyObsoleteEventArgs extends EventArgs
The AssemblyObsoleteEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AssemblyObsoleteEventArgs(Assembly) | Initializes a new instance of the AssemblyObsoleteEventArgs class. | |
AssemblyObsoleteEventArgs(Assembly, array<Type[]) | Initializes a new instance of the AssemblyObsoleteEventArgs class. |
Top
Properties
Name | Description | |
---|---|---|
ObsoleteAssembly | Gets the Assembly that has become obsolete. | |
ObsoleteTypes | Gets the set of Type that have become obsolete. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
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.
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.