AssemblyObsoleteEventArgs Constructor (Assembly, array<Type[])
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() _
)
public AssemblyObsoleteEventArgs(
Assembly assembly,
Type[] types
)
Parameters
- assembly
Type: System.Reflection.Assembly
A dynamic assembly that may have changed.
- types
Type: array<System.Type[]
An array of Type containing objects for all the types defined in this assembly.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | assembly is nulla null reference (Nothing in Visual Basic). -or- types is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- 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