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