Delen via


PackageManager.ClearPackageStatus(String, PackageStatus) Method

Definition

Clears the status of a Package.

public:
 virtual void ClearPackageStatus(Platform::String ^ packageFullName, PackageStatus status) = ClearPackageStatus;
void ClearPackageStatus(winrt::hstring const& packageFullName, PackageStatus const& status);
public void ClearPackageStatus(string packageFullName, PackageStatus status);
function clearPackageStatus(packageFullName, status)
Public Sub ClearPackageStatus (packageFullName As String, status As PackageStatus)

Parameters

packageFullName
String

Platform::String

winrt::hstring

The full name of the package.

status
PackageStatus

One of the enumeration values that specifies the status to clear.

Windows requirements

App capabilities
packageManagement

Applies to

See also