CodePackageActivationContext.GetDataPackageObject(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the DataPackage object by name.
public System.Fabric.DataPackage GetDataPackageObject (string packageName);
abstract member GetDataPackageObject : string -> System.Fabric.DataPackage
override this.GetDataPackageObject : string -> System.Fabric.DataPackage
Public Function GetDataPackageObject (packageName As String) As DataPackage
Parameters
- packageName
- String
The name of the package to find
Returns
Returns DataPackage.
Implements
Exceptions
The packageName was not found in the service manifest.