AssemblyObsoleteEventArgs Constructor (Assembly)
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
'Declaración
Public Sub New ( _
assembly As Assembly _
)
'Uso
Dim assembly As [Assembly]
Dim instance As New AssemblyObsoleteEventArgs(assembly)
public AssemblyObsoleteEventArgs(
Assembly assembly
)
public:
AssemblyObsoleteEventArgs(
Assembly^ assembly
)
new :
assembly:Assembly -> AssemblyObsoleteEventArgs
public function AssemblyObsoleteEventArgs(
assembly : Assembly
)
Parameters
- assembly
Type: System.Reflection.Assembly
A dynamic assembly that may have changed.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | assembly 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
AssemblyObsoleteEventArgs Members