Provides thread-local storage of data.
Assembly: mscorlib (in mscorlib.dll)
Thetype exposes the following members.
|Dispose()||Releases all resources used by the current instance of the class.|
|Dispose(Boolean)||Releases the resources used by this instance.|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Releases the resources used by this instance. (Overrides Object::Finalize().)|
|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.)|
|ToString||Creates and returns a string representation of this instance for the current thread. (Overrides Object::ToString().)|
The HostProtectionAttribute attribute applied to this type or member has the following Resources property value: Synchronization | ExternalThreading. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes.