次の方法で共有


PackageDeploymentManager.IsPackageSetReady(PackageSet) Method

Definition

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

Boolean

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.

Applies to