Compartir a través de


AssemblyDeletedEventArgs Constructor (Assembly, array<Type )

Initializes a new instance of the AssemblyDeletedEventArgs class for the supplied assembly and types.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Sub New ( _
    assembly As Assembly, _
    types As Type() _
)
public AssemblyDeletedEventArgs(
    Assembly assembly,
    Type[] types
)
public:
AssemblyDeletedEventArgs(
    Assembly^ assembly, 
    array<Type^>^ types
)
new : 
        assembly:Assembly * 
        types:Type[] -> AssemblyDeletedEventArgs
public function AssemblyDeletedEventArgs(
    assembly : Assembly, 
    types : Type[]
)

Parameters

  • assembly
    Type: Assembly

    The assembly that has been deleted.

  • types
    Type: array<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

See Also

Reference

AssemblyDeletedEventArgs Class

AssemblyDeletedEventArgs Overload

Microsoft.VisualStudio.Shell.Design Namespace