CanCommitCallback Delegate

Represents a callback method for determining whether a transaction can commit based on external criteria.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Public Delegate Function CanCommitCallback ( _
    transaction As Transaction _
) As Boolean
'Usage
Dim instance As New CanCommitCallback(AddressOf HandlerMethod)
public delegate bool CanCommitCallback(
    Transaction transaction
)
public delegate bool CanCommitCallback(
    Transaction^ transaction
)
JScript does not support delegates.

Parameters

Return Value

Type: System.Boolean
true if the transaction can commit; otherwise, false.

Remarks

To register or unregister such a callback method, use the AddCanCommitCallback or RemoveCanCommitCallback method of the transaction manager.

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace

TransactionManager

Change History

Date

History

Reason

July 2008

Added topic.

Content bug fix.