PackageModifiedEventArgs<T> 类
定义
Describes a package modified event.
public class PackageModifiedEventArgs<T>
类型参数
- T
Type of the package being described. See CodePackage, ConfigurationPackage and DataPackage. Also see getCodePackageRemovedEvent(), getConfigurationPackageRemovedEvent() and getDataPackageRemovedEvent().
- 继承
-
java.lang.ObjectPackageModifiedEventArgs<T>
构造函数
PackageModifiedEventArgs(T oldPackage, T newPackage) |
Creates a new instance of the PackageRemovedEventArgs<T> class. |
方法
getNewPackage() |
Gets the code, data, or configuration package that replaces the old package in the Service Manifest. |
getOldPackage() |
Gets the code, data, or configuration package that was replaced in the Service Manifest. |
setNewPackage(T newPackage) |
Sets the code, data, or configuration package that replaces the old package in the Service Manifest. |
setOldPackage(T oldPackage) |
Sets the code, data, or configuration package that was replaced in the Service Manifest. |