EventSinkCollection Members
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 | |
---|---|---|
EventSinkCollection | Initializes a new instance of an EventSinkCollection object. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds an event and returns its cookie. | |
Clear | Removes all event cookies. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
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.) | |
GetHashCode | Serves as a hash function for a particular type. (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.) | |
Remove | Removes the specified event cookie from the collection. | |
RemoveAt | Removes the event cookie. | |
SetAt | Updates the event associated with the given cookie. | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Properties
Name | Description | |
---|---|---|
Count | Gets the total number of event cookies in the collection. | |
Item | Gets or sets the specified cookie from the collection. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | Infrastructure. Microsoft Internal Only. |
Top