CodePackageActivationContext.GetConfigurationPackage(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.
Caution
Use GetConfigurationPackageObject method.
Retrieves the ConfigurationPackageDescription object by name.
This method is obsolete. Use GetConfigurationPackageObject(String).
[System.Obsolete("Use GetConfigurationPackageObject method.")]
public System.Fabric.Description.ConfigurationPackageDescription GetConfigurationPackage (string packageName);
[<System.Obsolete("Use GetConfigurationPackageObject method.")>]
member this.GetConfigurationPackage : string -> System.Fabric.Description.ConfigurationPackageDescription
Public Function GetConfigurationPackage (packageName As String) As ConfigurationPackageDescription
Parameters
- packageName
- String
The name of the package to find
Returns
Returns ConfigurationPackageDescription.
- Attributes
Exceptions
The packageName was not found in the service manifest.