WindowsRuntimeMarshal.RemoveAllEventHandlers Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes all the event handlers that can be removed by using the specified method.
This API supports the product infrastructure and is not intended to be used directly from your code.
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))
Parameters
- removeMethod
- Action<EventRegistrationToken>
A delegate that represents the method that removes event handlers from the Windows Runtime event.
- Attributes
Exceptions
removeMethod
is null
.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.