This documentation is archived and is not being maintained.

LockName<T> Class

Lock name with a value of a given type.

System::Object
  Microsoft.TeamFoundation.Framework.Server::LockName<T>

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

generic<typename T>
where T : Object, IComparable<T>, IEquatable<T>
public ref class LockName : ILockName, 
	IEquatable<ILockName^>, IComparable<ILockName^>

Type Parameters

T

The type of the name value.

The LockName<T> type exposes the following members.

  NameDescription
Public methodLockName<T>Constructor
Top

  NameDescription
Public propertyCachedLockObjectGet or set a cached lock object for this name.
Public propertyLockLevelReturns the lock level for this name.
Public propertyNameValueReturns the name value.
Top

  NameDescription
Public methodCompareToIComparable<ILockName>.CompareTo implementation
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodEquals(ILockName)IEquatable<ILockName>.Equals implementation
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the object hash code. (Overrides Object::GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the object string representation. (Overrides Object::ToString().)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: