New PackageDeploymentManager methods not tagged with new v2 contract (#4663)

* New PackageDeploymentManager methods not tagged with new v2 contract

* Incorporated feedback
This commit is contained in:
Howard Kapustein 2024-08-20 18:02:06 -07:00 коммит произвёл GitHub
Родитель b829471ca1
Коммит 4ca53d492a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -294,6 +294,7 @@ namespace Microsoft.Windows.Management.Deployment
//-------------------------------------------------------------
// IsPackageDeploymentFeatureSupported
[contract(PackageDeploymentContract, 2)]
static Boolean IsPackageDeploymentFeatureSupported(PackageDeploymentFeature feature);
//-------------------------------------------------------------
@ -470,9 +471,13 @@ namespace Microsoft.Windows.Management.Deployment
//-------------------------------------------------------------
// IsRegistrationPending
Boolean IsPackageRegistrationPending(String packageFullName);
/// @warning The parameter is should be "packageFullName" but can't due to http://task.ms/53280356.
/// Consider the current (wrong) parameter name deprecated until vFuture (2.0) when we can change to the new (right) parameter name.
Boolean IsPackageRegistrationPending(String packageFamilyName);
Boolean IsPackageRegistrationPendingForUser(String userSecurityId, String packageFullName);
/// @warning The parameter is should be "packageFullName" but can't due to http://task.ms/53280356.
/// Consider the current (wrong) parameter name deprecated until vFuture (2.0) when we can change to the new (right) parameter name.
Boolean IsPackageRegistrationPendingForUser(String userSecurityId, String packageFamilyName);
}
[contract(PackageDeploymentContract, 1)]