RemoveEventHandler Method (T)
Collapse the table of content
Expand the table of content

EventRegistrationTokenTable<T>.RemoveEventHandler Method (T)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Removes the specified event handler delegate from the table and the invocation list.

Namespace:  System.Runtime.InteropServices.WindowsRuntime
Assembly:  mscorlib (in mscorlib.dll)

public void RemoveEventHandler(
	T handler
)

Parameters

handler
Type: T
The event handler to remove.

If the handler is not registered, the table and the invocation list are not modified.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft