다음을 통해 공유


ITransactionAgent.StartTransaction(Boolean, TimeSpan) 메서드

정의

새 트랜잭션 시작

public System.Threading.Tasks.Task<Orleans.Transactions.ITransactionInfo> StartTransaction (bool readOnly, TimeSpan timeout);
public System.Threading.Tasks.Task<Orleans.Transactions.TransactionInfo> StartTransaction (bool readOnly, TimeSpan timeout);
abstract member StartTransaction : bool * TimeSpan -> System.Threading.Tasks.Task<Orleans.Transactions.ITransactionInfo>
abstract member StartTransaction : bool * TimeSpan -> System.Threading.Tasks.Task<Orleans.Transactions.TransactionInfo>
Public Function StartTransaction (readOnly As Boolean, timeout As TimeSpan) As Task(Of ITransactionInfo)
Public Function StartTransaction (readOnly As Boolean, timeout As TimeSpan) As Task(Of TransactionInfo)

매개 변수

readOnly
Boolean

읽기 전용 트랜잭션인지 여부

timeout
TimeSpan

이 시간 내에 완료되지 않으면 트랜잭션이 자동으로 중단됩니다.

반환

새 트랜잭션 정보

적용 대상