Method | Description | |
---|---|---|
Commit ( ) : void |
Commit the transaction held in this continuation. Throws if it's already completing/ed.
|
|
Dispose ( ) : void |
If not Completed, calls Rollback.
|
|
InContext ( System.Action act ) : void |
Run the action inside the transaction context. Access is limited to exactly what the main transaction already did. Throws if the continuation has completed, dangerous if it is completing.
|
|
InContext ( Action |
Run the action inside the transaction context, with information on the transaction's access pattern given in its argument. Access is limited to exactly what the main transaction already did. Throws if the continuation has completed, dangerous if it is completing.
|
|
Rollback ( ) : void |
Roll back the transaction held in this continuation. Throws if already completing/ed.
|
|
TryCommit ( ) : bool |
Try to commit the transaction held in this continuation, returning true if successful. It returns true only if this call actually did the full commit.
|
|
TryRollback ( ) : bool |
Try to roll back the transaction held in this continuation, returning true if successful. Returns true only if this call actually performs the rollback.
|
Method | Description | |
---|---|---|
StartTimer ( int ms ) : void |
public abstract InContext ( System.Action act ) : void | ||
act | System.Action | |
return | void |