This documentation is archived and is not being maintained.

LockCookie Members

Defines the lock that implements single-writer/multiple-reader semantics. This is a value type.

The LockCookie type exposes the following members.

Public method Equals Overloaded. Indicates whether the current is equal to a specified object.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Public operator Static member Equality Indicates whether two LockCookie structures are equal.
Public operator Static member Inequality Indicates whether two LockCookie structures are not equal.