InstallationManager.RemovePackageAsync(String, RemovalOptions) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 사용자의 패키지를 비동기적으로 제거하고 제거 작업에서 진행률 및 상태 메시지를 받습니다. 사용자에 대해 설치된 다른 패키지가 종속되지 않으면 사용자에 대한 종속성 패키지도 제거됩니다.
public:
static IAsyncOperationWithProgress<PackageInstallResult ^, unsigned int> ^ RemovePackageAsync(Platform::String ^ packageFullName, RemovalOptions removalOptions);
static IAsyncOperationWithProgress<PackageInstallResult, uint32_t> RemovePackageAsync(winrt::hstring const& packageFullName, RemovalOptions const& removalOptions);
public static IAsyncOperationWithProgress<PackageInstallResult,uint> RemovePackageAsync(string packageFullName, RemovalOptions removalOptions);
function removePackageAsync(packageFullName, removalOptions)
Public Shared Function RemovePackageAsync (packageFullName As String, removalOptions As RemovalOptions) As IAsyncOperationWithProgress(Of PackageInstallResult, UInteger)
매개 변수
- packageFullName
-
String
Platform::String
winrt::hstring
제거할 패키지를 식별하는 패키지 ID의 문자열 표현입니다.
- removalOptions
- RemovalOptions
제거 작업을 수정하는 옵션입니다.
반환
Windows.Foundation.IAsyncOperationWithProgress<Windows.Phone.Management.Deployment.PackageInstallResult,unsigned int>
비동기 제거 작업을 나타내고 진행률 업데이트를 포함하는 개체입니다.