Include Protected Members
Include Inherited Members
Maps objects to and from event "cookies" that represent a client's registration with an event provider.
The EventSinkCollection type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | EventSinkCollection | Initializes a new instance of an EventSinkCollection object. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Add | Adds an event and returns its cookie. | 
| .gif) | Clear | Removes all event cookies. | 
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | Remove | Removes the specified event cookie from the collection. | 
| .gif) | RemoveAt | Removes the event cookie. | 
| .gif) | SetAt | Updates the event associated with the given cookie. | 
| .gif) | ToString | Returns a String that represents the current Object. (Inherited from Object.) | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Count | Gets the total number of event cookies in the collection. | 
| .gif) | Item | Gets or sets the specified cookie from the collection. | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IEnumerable.GetEnumerator | Infrastructure. Microsoft Internal Only. | 
Top