X509CertificateDatabaseExecuteWithinTransaction Method

Execute an action within a database transaction.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
protected void ExecuteWithinTransaction(
	Action action
)

Parameters

action  Action
The action to execute within the transaction.

Remarks

All database commands used within the action must be created using CreateCommand.

Exceptions

See Also