FabricClient.ApplicationManagementClient.RemoveApplicationPackage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes an application package from the Image Store.
public void RemoveApplicationPackage (string imageStoreConnectionString, string applicationPackagePathInImageStore);
member this.RemoveApplicationPackage : string * string -> unit
Public Sub RemoveApplicationPackage (imageStoreConnectionString As String, applicationPackagePathInImageStore As String)
Parameters
- imageStoreConnectionString
- String
The connection string for the image store, which should match the "ImageStoreConnectionString" setting value found in the cluster manifest of the target cluster. In an on-premise cluster, the value is chosen during initial deployment by the cluster administrator. In an Azure cluster created through the Azure Resource Manager, this value is "fabric:ImageStore". The image store connection string value can be checked by looking at the cluster manifest contents returned by GetClusterManifestAsync().
- applicationPackagePathInImageStore
- String
The relative path for the application package in the image store specified during CopyApplicationPackage(String, String, String, TimeSpan).
Exceptions
There was an error accessing a file on the ImageStore.
ImageStoreIOException: There was an IO error communicating with the image store.
ImageBuilderReservedDirectoryError: There was an error while trying to delete reserved folders in the image store.
The request timed out but may have already been accepted for processing by the system.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應