Share via


ActionableRdtListener.OnBeforeLastDocumentUnlockEventHandler Delegate

Represents the method that will handle the BeforeLastDocumentUnlockEvent event when it is raised.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Delegate Function OnBeforeLastDocumentUnlockEventHandler ( _
    docCookie As UInteger, _
    lockType As UInteger, _
    readLocksRemaining As UInteger, _
    editLocksRemaining As UInteger _
) As Integer
'Usage
Dim instance As New OnBeforeLastDocumentUnlockEventHandler(AddressOf HandlerMethod)
public delegate int OnBeforeLastDocumentUnlockEventHandler(
    uint docCookie,
    uint lockType,
    uint readLocksRemaining,
    uint editLocksRemaining
)
public delegate int OnBeforeLastDocumentUnlockEventHandler(
    unsigned int docCookie, 
    unsigned int lockType, 
    unsigned int readLocksRemaining, 
    unsigned int editLocksRemaining
)
JScript does not support delegates.
type OnBeforeLastDocumentUnlockEventHandler = 
    delegate of 
        docCookie:uint32 * 
        lockType:uint32 * 
        readLocksRemaining:uint32 * 
        editLocksRemaining:uint32 -> int

Parameters

  • docCookie
    Type: System.UInt32
    The document cookie for this project
  • readLocksRemaining
    Type: System.UInt32
    The number of read locks remaining
  • editLocksRemaining
    Type: System.UInt32
    The number of edit locks remaining

Return Value

Type: System.Int32

See Also

Reference

Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities Namespace