ContractLock Class
This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.
NOTE: This API is now obsolete. The non-obsolete alternative is ContractHandle.
Manages the lifetime of an IContract.
Namespace: Microsoft.VisualStudio.Tools.Applications
Assembly: Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)
Syntax
'Declaration
<ObsoleteAttribute("This type is no longer useful. Please use System.AddIn.Pipeline.ContractHandle instead", _
True)> _
Public NotInheritable Class ContractLock _
Inherits ContractHandle
'Usage
Dim instance As ContractLock
[ObsoleteAttribute("This type is no longer useful. Please use System.AddIn.Pipeline.ContractHandle instead",
true)]
public sealed class ContractLock : ContractHandle
[ObsoleteAttribute(L"This type is no longer useful. Please use System.AddIn.Pipeline.ContractHandle instead",
true)]
public ref class ContractLock sealed : public ContractHandle
public final class ContractLock extends ContractHandle
Inheritance Hierarchy
System.Object
System.AddIn.Pipeline.ContractHandle
Microsoft.VisualStudio.Tools.Applications.ContractLock
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.