IVsAsyncRunningDocumentTable2.UnlockDocumentAsync(UInt32, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a lock from a document.
public Microsoft.VisualStudio.Shell.Interop.IVsTask UnlockDocumentAsync (uint lockType, uint docCookie);
abstract member UnlockDocumentAsync : uint32 * uint32 -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function UnlockDocumentAsync (lockType As UInteger, docCookie As UInteger) As IVsTask
Parameters
- lockType
- UInt32
The type of lock to remove.
- docCookie
- UInt32
The document cookie.
Returns
A task representing the asynchronous operation.
Remarks
This method is safe to access from any thread.