azure-docs-sdk-java/docs-ref-autogen/system.fabric.PackageModifi...

69 строки
5.2 KiB
YAML

### YamlMime:JavaType
constructors:
- fullName: system.fabric.PackageModifiedEventArgs<T>.PackageModifiedEventArgs(T oldPackage, T newPackage)
name: PackageModifiedEventArgs(T oldPackage, T newPackage)
nameWithType: PackageModifiedEventArgs<T>.PackageModifiedEventArgs(T oldPackage, T newPackage)
parameters:
- description: <p>old Code, Config or Data package. </p>
name: oldPackage
type: <xref href="T?alt=T&text=T" data-throw-if-not-resolved="False"/>
- description: <p>new Code, Config or Data package. See <xref uid="system.fabric.CodePackage" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CodePackage"></xref>, <xref uid="system.fabric.ConfigurationPackage" data-throw-if-not-resolved="false" data-raw-source="system.fabric.ConfigurationPackage"></xref> and <xref uid="system.fabric.DataPackage" data-throw-if-not-resolved="false" data-raw-source="system.fabric.DataPackage"></xref>. </p>
name: newPackage
type: <xref href="T?alt=T&text=T" data-throw-if-not-resolved="False"/>
summary: <p>Creates a new instance of the <xref uid="system.fabric.PackageRemovedEventArgs" data-throw-if-not-resolved="false" data-raw-source="system.fabric.PackageRemovedEventArgs"></xref> class. </p>
syntax: public PackageModifiedEventArgs(T oldPackage, T newPackage)
uid: system.fabric.PackageModifiedEventArgs.PackageModifiedEventArgs(T,T)
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
methods:
- fullName: system.fabric.PackageModifiedEventArgs<T>.getNewPackage()
name: getNewPackage()
nameWithType: PackageModifiedEventArgs<T>.getNewPackage()
returns:
description: <p>Code, data, or configuration package that replaces the old package in the Service Manifest. </p>
type: <xref href="T?alt=T&text=T" data-throw-if-not-resolved="False"/>
summary: <p>Gets the code, data, or configuration package that replaces the old package in the Service Manifest. </p>
syntax: public T getNewPackage()
uid: system.fabric.PackageModifiedEventArgs.getNewPackage()
- fullName: system.fabric.PackageModifiedEventArgs<T>.getOldPackage()
name: getOldPackage()
nameWithType: PackageModifiedEventArgs<T>.getOldPackage()
returns:
description: <p>Code, data, or configuration package that was replaced in the Service Manifest. </p>
type: <xref href="T?alt=T&text=T" data-throw-if-not-resolved="False"/>
summary: <p>Gets the code, data, or configuration package that was replaced in the Service Manifest. </p>
syntax: public T getOldPackage()
uid: system.fabric.PackageModifiedEventArgs.getOldPackage()
- fullName: system.fabric.PackageModifiedEventArgs<T>.setNewPackage(T newPackage)
name: setNewPackage(T newPackage)
nameWithType: PackageModifiedEventArgs<T>.setNewPackage(T newPackage)
parameters:
- description: <p>Code, data, or configuration package that replaces the old package in the Service Manifest. </p>
name: newPackage
type: <xref href="T?alt=T&text=T" data-throw-if-not-resolved="False"/>
summary: <p>Sets the code, data, or configuration package that replaces the old package in the Service Manifest. </p>
syntax: public void setNewPackage(T newPackage)
uid: system.fabric.PackageModifiedEventArgs.setNewPackage(T)
- fullName: system.fabric.PackageModifiedEventArgs<T>.setOldPackage(T oldPackage)
name: setOldPackage(T oldPackage)
nameWithType: PackageModifiedEventArgs<T>.setOldPackage(T oldPackage)
parameters:
- description: <p>Code, data, or configuration package that was replaced in the Service Manifest. </p>
name: oldPackage
type: <xref href="T?alt=T&text=T" data-throw-if-not-resolved="False"/>
summary: <p>Sets the code, data, or configuration package that was replaced in the Service Manifest. </p>
syntax: public void setOldPackage(T oldPackage)
uid: system.fabric.PackageModifiedEventArgs.setOldPackage(T)
nameWithType: PackageModifiedEventArgs<T>
syntax: public class PackageModifiedEventArgs<T>
type: class
typeParameters:
- description: <p>Type of the package being described. See <xref uid="system.fabric.CodePackage" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CodePackage"></xref>, <xref uid="system.fabric.ConfigurationPackage" data-throw-if-not-resolved="false" data-raw-source="system.fabric.ConfigurationPackage"></xref> and <xref uid="system.fabric.DataPackage" data-throw-if-not-resolved="false" data-raw-source="system.fabric.DataPackage"></xref>. Also see <xref uid="system.fabric.CodePackageActivationContext.getCodePackageRemovedEvent()" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CodePackageActivationContext#getCodePackageRemovedEvent()"></xref>, <xref uid="system.fabric.CodePackageActivationContext.getConfigurationPackageRemovedEvent()" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CodePackageActivationContext#getConfigurationPackageRemovedEvent()"></xref> and <xref uid="system.fabric.CodePackageActivationContext.getDataPackageRemovedEvent()" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CodePackageActivationContext#getDataPackageRemovedEvent()"></xref>. </p>
name: T
uid: system.fabric.PackageModifiedEventArgs
fullName: system.fabric.PackageModifiedEventArgs<T>
name: PackageModifiedEventArgs<T>
package: system.fabric
summary: <p>Describes a package modified event. </p>
metadata: {}