Uredi

Deli z drugimi prek


EventPrivateKey Class

Definition

Provides unique identification for events whose handlers are stored into an internal hashtable.

public ref class EventPrivateKey
public class EventPrivateKey
type EventPrivateKey = class
Public Class EventPrivateKey
Inheritance
EventPrivateKey

Remarks

Important

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.

Constructors

EventPrivateKey()

Initializes a new instance of the EventPrivateKey class.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to