ThreadSafetyClass Class

This class demonstrates the threadsafety XML comments element.

Definition

Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
public class ThreadSafetyClass
Inheritance
Object    ThreadSafetyClass

Constructors

ThreadSafetyClassInitializes a new instance of the ThreadSafetyClass class

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets 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.
MemberwiseCloneCreates 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.
ToStringReturns 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