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 で導入)

適用対象

こちらもご覧ください