IVsAppContainerProjectDeploy2.StartDeployAsync(UInt32, String, String, String, IVsAppContainerProjectDeployCallback) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initiiert Bereitstellung der App-Container-Anwendung auf dem lokalen Computer. Er erstellt einen "layoutordner" mit den APP-Dateien, wie er in der Paket Rezeptdatei definiert ist, und registriert die Anwendung beim Windows-Paket-Manager. Nachdem dieser Prozesses erfolgreich ausgeführt wurde, ist die Anwendung bereit, auf dem lokalen Feld oder auf dem Simulator gestartet zu werden.
public:
Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployOperation ^ StartDeployAsync(System::UInt32 deployFlags, System::String ^ packageContentsRecipe, System::String ^ layoutLocation, System::String ^ projectUniqueName, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployCallback ^ deployCallback);
public:
Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployOperation ^ StartDeployAsync(unsigned int deployFlags, Platform::String ^ packageContentsRecipe, Platform::String ^ layoutLocation, Platform::String ^ projectUniqueName, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployCallback ^ deployCallback);
Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployOperation StartDeployAsync(unsigned int deployFlags, std::wstring const & packageContentsRecipe, std::wstring const & layoutLocation, std::wstring const & projectUniqueName, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployCallback const & deployCallback);
public Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployOperation StartDeployAsync (uint deployFlags, string packageContentsRecipe, string layoutLocation, string projectUniqueName, Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployCallback deployCallback);
abstract member StartDeployAsync : uint32 * string * string * string * Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployCallback -> Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployOperation
Public Function StartDeployAsync (deployFlags As UInteger, packageContentsRecipe As String, layoutLocation As String, projectUniqueName As String, deployCallback As IVsAppContainerProjectDeployCallback) As IVsAppContainerProjectDeployOperation
Parameter
- deployFlags
- UInt32
[in] Die Bereitstellungsoptionen für diese Instanz der App-Container-Anwendung.
- packageContentsRecipe
- String
[in] Die Paketrezeptdatei, die den Paketinhalt definiert.
- layoutLocation
- String
[in] Die Position, an der die App-Container-Anwendung bereitgestellt wird.
- projectUniqueName
- String
[in] Der eindeutige Name des Projekts.
- deployCallback
- IVsAppContainerProjectDeployCallback
[in] Die Rückrufroutine, die benachrichtigt werden soll, wenn Ereignisse auftreten.
Gibt zurück
Die auf dem lokalen Computer bereitgestellte App-Container-Anwendung.