Sandcastle XML Comments Guide
ThreadSafetyClass Class |
This class demonstrates the threadsafety XML comments element.
Inheritance Hierarchy
Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
Syntax
The ThreadSafetyClass type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ThreadSafetyClass | Initializes a new instance of the ThreadSafetyClass class |
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InstanceMethod |
Per the threadsafety XML comments element on the class, the developer has
indicated that instance method like this one are not safe for multi-threaded use.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
StaticMethod |
Per the threadsafety XML comments element on the class, the developer has
indicated that static methods like this one are safe for multi-threaded use.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also