Share via


CodePackageActivationContext.GetCodePackageObject(String) Method

Definition

Retrieves the CodePackage object by name.

public System.Fabric.CodePackage GetCodePackageObject (string packageName);
abstract member GetCodePackageObject : string -> System.Fabric.CodePackage
override this.GetCodePackageObject : string -> System.Fabric.CodePackage
Public Function GetCodePackageObject (packageName As String) As CodePackage

Parameters

packageName
String

The name of the package to find

Returns

Returns CodePackage.

Implements

Exceptions

The packageName was not found in the service manifest.

Applies to