共用方式為


ApplicationHandler.MapTerminate 方法

定義

將抽象的 「終止」命令對應至平臺特定的實作。

public:
 static void MapTerminate(Microsoft::Maui::Handlers::ApplicationHandler ^ handler, Microsoft::Maui::IApplication ^ application, System::Object ^ args);
public static void MapTerminate (Microsoft.Maui.Handlers.ApplicationHandler handler, Microsoft.Maui.IApplication application, object? args);
static member MapTerminate : Microsoft.Maui.Handlers.ApplicationHandler * Microsoft.Maui.IApplication * obj -> unit
Public Shared Sub MapTerminate (handler As ApplicationHandler, application As IApplication, args As Object)

參數

handler
ApplicationHandler

相關的處理常式。

application
IApplication

相關聯的 IApplication 實例。

args
Object

相關聯的命令自變數。

適用於