CanCommitCallback Delegate
Visual Studio 2015
Represents a callback method for determining whether a transaction can commit based on external criteria.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Parameters
- transaction
-
Type:
Microsoft.VisualStudio.Modeling::Transaction^
The transaction to check.
Return Value
Type: Microsoft.VisualStudio.Modeling::CanCommitResulttrue if the transaction can commit; otherwise, false.
To register or unregister such a callback method, use the AddCanCommitCallback or RemoveCanCommitCallback method of the transaction manager.
Show: