Share via


WindowsRuntimeMarshal.RemoveAllEventHandlers メソッド

定義

指定されたメソッドを使用して削除できるイベント ハンドラーをすべて削除します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

public:
 static void RemoveAllEventHandlers(Action<System::Runtime::InteropServices::WindowsRuntime::EventRegistrationToken> ^ removeMethod);
[System.Security.SecurityCritical]
public static void RemoveAllEventHandlers (Action<System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken> removeMethod);
public static void RemoveAllEventHandlers (Action<System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken> removeMethod);
[<System.Security.SecurityCritical>]
static member RemoveAllEventHandlers : Action<System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken> -> unit
static member RemoveAllEventHandlers : Action<System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken> -> unit
Public Shared Sub RemoveAllEventHandlers (removeMethod As Action(Of EventRegistrationToken))

パラメーター

removeMethod
Action<EventRegistrationToken>

Windows ランタイム イベントからイベント ハンドラーを削除するメソッドを表すデリゲート。

属性

例外

removeMethodnull です。

適用対象