ExportsChangeEventArgs 构造函数

定义

初始化 ExportsChangeEventArgs 类的新实例。

public:
 ExportsChangeEventArgs(System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::ExportDefinition ^> ^ addedExports, System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::ExportDefinition ^> ^ removedExports, System::ComponentModel::Composition::Hosting::AtomicComposition ^ atomicComposition);
public ExportsChangeEventArgs (System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ExportDefinition> addedExports, System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ExportDefinition> removedExports, System.ComponentModel.Composition.Hosting.AtomicComposition atomicComposition);
public ExportsChangeEventArgs (System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ExportDefinition> addedExports, System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ExportDefinition> removedExports, System.ComponentModel.Composition.Hosting.AtomicComposition? atomicComposition);
new System.ComponentModel.Composition.Hosting.ExportsChangeEventArgs : seq<System.ComponentModel.Composition.Primitives.ExportDefinition> * seq<System.ComponentModel.Composition.Primitives.ExportDefinition> * System.ComponentModel.Composition.Hosting.AtomicComposition -> System.ComponentModel.Composition.Hosting.ExportsChangeEventArgs
Public Sub New (addedExports As IEnumerable(Of ExportDefinition), removedExports As IEnumerable(Of ExportDefinition), atomicComposition As AtomicComposition)

参数

addedExports
IEnumerable<ExportDefinition>

已添加的事件。

removedExports
IEnumerable<ExportDefinition>

已移除的事件。

atomicComposition
AtomicComposition

包含更改的组合事务。

例外

addedExportsremovedExportsnull

适用于