共用方式為


CanCommitResult Enumeration

Enumeration status for the CanCommit callback.

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

Syntax

'宣告
Public Enumeration CanCommitResult
public enum CanCommitResult
public enum class CanCommitResult
type CanCommitResult
public enum CanCommitResult

Members

Member name Description
Abandon Stop processing the current transaction and do not try to roll back. This result is returned if the Store is disposed during the execution of a transaction.

Stop processing the current transaction and do not try to roll back. This result is returned if the Store is disposed during the execution of a transaction.

Commit Proceed with the current transaction.
Rollback Stop processing the current transaction and undo any changes that were made to this point.

Stop processing the current transaction and undo any changes that were made to this point.

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace