共用方式為


SuspendingEventHandler 代理人

定義

表示處理應用程式暫停事件的方法。

public delegate void SuspendingEventHandler(Platform::Object ^ sender, ISuspendingEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1352417948, 30946, 18563, 171, 200, 137, 96, 220, 222, 27, 92)]
class SuspendingEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1352417948, 30946, 18563, 171, 200, 137, 96, 220, 222, 27, 92)]
public delegate void SuspendingEventHandler(object sender, ISuspendingEventArgs e);
var suspendingEventHandlerHandler = function(sender, e){
/* Your code */
}
Public Delegate Sub SuspendingEventHandler(sender As Object, e As ISuspendingEventArgs)

參數

sender
Object

Platform::Object

IInspectable

寄件者。

e
ISuspendingEventArgs

事件資料。

屬性

Windows 需求

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

適用於

另請參閱