ApplicationManager.ShutdownApplication(String) 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.
Unloads the specified application.
public:
void ShutdownApplication(System::String ^ appId);
public void ShutdownApplication (string appId);
member this.ShutdownApplication : string -> unit
Public Sub ShutdownApplication (appId As String)
Parameters
- appId
- String
The unique identifier of the application to unload.
Exceptions
appId
is null
.
Remarks
Calling the ShutdownApplication method is equivalent to calling the HostingEnvironment.InitiateShutdown method for a specific application domain; however, the ShutdownApplication method can be called from outside managed application domains.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈