Compartir a través de


IVsAsyncRunningDocumentTable2.UnlockDocumentAsync(UInt32, UInt32) Method

Definition

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.

Applies to