다음을 통해 공유


CodePackageActivationContext.GetDataPackageObject(String) Method

Definition

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.

Applies to