EventRegistrationToken Struct
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.
A token that is returned when an event handler is added to a Windows Runtime event. The token is used to remove the event handler from the event at a later time.
public value class EventRegistrationToken
public struct EventRegistrationToken
type EventRegistrationToken = struct
Public Structure EventRegistrationToken
- Inheritance
Use the EventRegistrationToken structure only if you use native Windows Runtime techniques to add and remove event handlers for Windows Runtime events. If you use the syntax that is provided by the C# or Visual Basic languages to add and remove event handlers, EventRegistrationToken is an implementation detail handled by the compilers.
Equals(Object) |
Returns a value that indicates whether the current object is equal to the specified object. |
Get |
Returns the hash code for this instance. |
Equality(Event |
Indicates whether two EventRegistrationToken instances are equal. |
Inequality(Event |
Indicates whether two EventRegistrationToken instances are not equal. |
Proizvod | Verzije |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1 |
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
UWP | 10.0 |
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: