InstallationManager.RemovePackageAsync(String, RemovalOptions) 메서드

정의

현재 사용자의 패키지를 비동기적으로 제거하고 제거 작업에서 진행률 및 상태 메시지를 받습니다. 사용자에 대해 설치된 다른 패키지가 종속되지 않으면 사용자에 대한 종속성 패키지도 제거됩니다.

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

제거 작업을 수정하는 옵션입니다.

반환

IAsyncOperationWithProgress<PackageInstallResult,UInt32>

Windows.Foundation.IAsyncOperationWithProgress<Windows.Phone.Management.Deployment.PackageInstallResult,unsigned int>

IAsyncOperationWithProgress<PackageInstallResult,uint32_t>

비동기 제거 작업을 나타내고 진행률 업데이트를 포함하는 개체입니다.

적용 대상