How to receive release block
The third-party module requires receiving release block information from Block Management once block release information is available. To achieve this, implement the INativeBlockOperator
interface and invoke the ReleaseBlock
method.
public class NativeBlockOperator : INativeBlockOperator
{
public async Task ReleaseBlock(ReleaseBlockDetail blockDetail)
{
//blockDetail receives release block information.
}
}
Once this method is successfully executed, the BlockManagement.Agent will automatically send the Active Release Block message to Block Management.
Information on the properties for the ReleaseBlockDetail
object can be found in the API Documentation.