共用方式為


NavigatingCancelEventHandler 代理人

定義

表示做為 On NavigationFrom 回呼覆寫的方法。

public delegate void NavigatingCancelEventHandler(Platform::Object ^ sender, NavigatingCancelEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1977001871, 41730, 17545, 152, 152, 36, 234, 73, 24, 41, 16)]
class NavigatingCancelEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1977001871, 41730, 17545, 152, 152, 36, 234, 73, 24, 41, 16)]
public delegate void NavigatingCancelEventHandler(object sender, NavigatingCancelEventArgs e);
Public Delegate Sub NavigatingCancelEventHandler(sender As Object, e As NavigatingCancelEventArgs)

參數

sender
Object

Platform::Object

IInspectable

實作 方法的物件。

e
NavigatingCancelEventArgs

透過回呼傳遞的事件資料。

屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

適用於