PackageDeploymentManager.IsPackageSetReady(PackageSet) 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.
Determines whether the target package set is present (installed, registered) and ready for use. This method is a quick test to determine whether more (costly) work is needed before the target can be used.
public:
virtual bool IsPackageSetReady(PackageSet ^ packageSet) = IsPackageSetReady;
bool IsPackageSetReady(PackageSet const& packageSet);
public bool IsPackageSetReady(PackageSet packageSet);
function isPackageSetReady(packageSet)
Public Function IsPackageSetReady (packageSet As PackageSet) As Boolean
Parameters
- packageSet
- PackageSet
The target package set to query about.
Returns
bool
true
only if all packages referenced by packageSet are present (installed, registered) and ready for use; otherwise, false
.
Examples
See the example in PackageDeploymentManager.EnsurePackageSetReadyAsync.
Remarks
See Remarks for IsPackageReady.