<compensate>
<catch> または <catchall> から <compensationhandler> を呼び出します。
構文
<scope>
<throw fault='"BuyersRegret"'/>
<faulthandlers>
<catch fault='"BuyersRegret"'>
<compensate target="RestoreBalance"/>
</catch>
</faulthandlers>
<compensationhandlers>
<compensationhandler name="RestoreBalance">
<assign property='context.MyBalance' value='context.MyBalance+1'/>
</compensationhandler>
</compensationhandlers>
</scope>
詳細
属性または要素 |
説明 |
値 |
target 属性 |
必須項目。以前のアクションを取り消す一連のアクティビティを表す <compensationhandler> の名前。 |
0 ~ 255 文字の文字列。 |
<annotation> 要素 |
“一般的な属性と要素” を参照してください。 |
|