1 instantiation of TransactionBehavior
System.ServiceModel (1)
System\ServiceModel\Dispatcher\TransactionBehavior.cs (1)
75return new TransactionBehavior(dispatch);
23 references to TransactionBehavior
System.ServiceModel (23)
System\ServiceModel\Dispatcher\ChannelHandler.cs (3)
1705return TransactionBehavior.CreateTransaction( 1707TransactionBehavior.NormalizeTimeout(this.listener.ChannelDispatcher.TransactionTimeout)); 1736received = this.receiver.TryReceive(TransactionBehavior.NormalizeTimeout(receiveTimeout), out request);
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
42readonly TransactionBehavior transaction; 95this.transaction = TransactionBehavior.CreateIfNeeded(dispatch);
System\ServiceModel\Dispatcher\ListenerHandler.cs (2)
302tx = TransactionBehavior.CreateTransaction(this.ChannelDispatcher.TransactionIsolationLevel, this.ChannelDispatcher.TransactionTimeout); 308if (!this.acceptor.TryAccept(TransactionBehavior.NormalizeTimeout(acceptTimeout), out binder))
System\ServiceModel\Dispatcher\TransactedBatchContext.cs (2)
25this.transaction = TransactionBehavior.CreateTransaction(shared.IsolationLevel, shared.TransactionTimeout); 189this.txTimeout = TransactionBehavior.NormalizeTimeout(dispatcher.TransactionTimeout);
System\ServiceModel\Dispatcher\TransactionBehavior.cs (14)
46this.timeout = TransactionBehavior.NormalizeTimeout(dispatch.ChannelDispatcher.TransactionTimeout); 71internal static TransactionBehavior CreateIfNeeded(DispatchRuntime dispatch) 73if (TransactionBehavior.NeedsTransactionBehavior(dispatch)) 211throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionUnmarshalFailed, e.Message), FaultCodeConstants.Codes.TransactionUnmarshalingFailed, false)); 266throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted), FaultCodeConstants.Codes.TransactionAborted, true)); 322throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted), FaultCodeConstants.Codes.TransactionAborted, true)); 349transaction = TransactionBehavior.CreateTransaction(this.isolation, this.timeout); 364throw TraceUtility.ThrowHelperError(TransactionBehavior.CreateFault 386throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted), FaultCodeConstants.Codes.TransactionAborted, true)); 599throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted), FaultCodeConstants.Codes.TransactionAborted, true)); 671rpc.Error = TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted), FaultCodeConstants.Codes.TransactionAborted, true); 739rpc.Error = TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted), FaultCodeConstants.Codes.TransactionAborted, true); 798throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted), FaultCodeConstants.Codes.TransactionAborted, true)); 823throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted), FaultCodeConstants.Codes.TransactionAborted, true));