EventPrivateKey Class
Provides unique identification for events whose handlers are stored into an internal hashtable.
Assembly: PresentationCore (in PresentationCore.dll)
| Name | Description | |
|---|---|---|
![]() | EventPrivateKey() | Initializes a new instance of the EventPrivateKey class. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Security Note
|
|---|
This type exists specifically so that compilers, build rules, or other enforcement mechanisms can verify that all event keys of this type are created exclusively by private static fields on the event-declaring class. Failure to make the event key private raises the possibility of event spoofing. |
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


