Initializes a new instance of the AssemblyObsoleteEventArgs class.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣言
Public Sub New ( _
assembly As Assembly, _
types As Type() _
)
'使用
Dim assembly As Assembly
Dim types As Type()
Dim instance As New AssemblyObsoleteEventArgs(assembly, _
types)
public AssemblyObsoleteEventArgs(
Assembly assembly,
Type[] types
)
public:
AssemblyObsoleteEventArgs(
Assembly^ assembly,
array<Type^>^ types
)
public function AssemblyObsoleteEventArgs(
assembly : Assembly,
types : Type[]
)
Parameters
assembly
Type: System.Reflection.AssemblyA dynamic assembly that may have changed.
types
Type: []An array of Type containing objects for all the types defined in this assembly.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | assembly is a null reference (Nothing in Visual Basic). -or- types is a null reference (Nothing in Visual Basic). |
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
AssemblyObsoleteEventArgs Class
AssemblyObsoleteEventArgs Members