共用方式為


ITransactionInfo.MustAbort(SerializationManager) 方法

定義

檢查此交易是否必須中止。

public Orleans.Transactions.OrleansTransactionAbortedException MustAbort (Orleans.Serialization.SerializationManager serializationManager);
abstract member MustAbort : Orleans.Serialization.SerializationManager -> Orleans.Transactions.OrleansTransactionAbortedException
Public Function MustAbort (serializationManager As SerializationManager) As OrleansTransactionAbortedException

參數

serializationManager
SerializationManager

用於還原序列化例外狀況的序列化管理員

傳回

如果交易必須中止,則傳回例外狀況物件,否則傳回 null

適用於