Skip to content

TransactionRequestBase Methods

Provides transaction propagation and resolution for generated grain request invokers.

BaseInvoke

abstract
protected abstract ValueTask<Response> BaseInvoke()
Invokes the generated request implementation.

Returns

A response representing the invocation result.

Dispose

override
View source
public override void Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Invoke

override
View source
public override ValueTask<Response> Invoke()
Invoke the object.

SetExclusiveLock(bool)

View source
protected void SetExclusiveLock(bool value)
Sets whether transactional state reads acquire exclusive locks.

Parameters

valuebool
true to acquire exclusive locks for reads; otherwise, false.