1 write to service
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\ProcessMessagesAsyncResult.cs (1)
38
this.
service
= service;
38 references to service
System.ServiceModel.Routing (38)
System\ServiceModel\Routing\ProcessMessagesAsyncResult.cs (38)
59
messageRpc.RouteToEndpoints<TContract>(this.
service
.RoutingConfig);
60
this.
service
.SessionMessages.Add(messageRpc);
62
this.sessionMessageIndex = this.
service
.SessionMessages.Count - 1;
106
this.
service
.ResetSession();
116
this.
service
.CreateNewTransactionIfNeeded(this.
service
.SessionMessages[0]);
154
MessageRpc messageRpc = this.
service
.SessionMessages[this.sessionMessageIndex];
170
this.client = this.
service
.GetOrCreateClient<TContract>(endpointTrait, messageRpc.Impersonating);
192
Transaction transaction = this.
service
.GetTransactionForSending(messageRpc);
284
MessageRpc messageRpc = this.
service
.SessionMessages[this.sessionMessageIndex];
288
currentDest.TransmitSucceeded(this.
service
.GetTransactionForSending(messageRpc));
308
this.
service
.SessionMessages.RemoveAt(this.sessionMessageIndex);
312
if (++this.sessionMessageIndex >= this.
service
.SessionMessages.Count)
323
foreach (MessageRpc messageRpc in this.
service
.SessionMessages)
355
else if (this.
service
.RetryTransaction != null || this.channelExtension.TransactedReceiveEnabled)
374
if (this.
service
.RetryTransaction != null || this.channelExtension.TransactedReceiveEnabled)
405
else if (this.
service
.RetryTransaction != null || this.channelExtension.TransactedReceiveEnabled)
432
using (this.PrepareTransactionalCall(this.
service
.GetTransactionForSending(null)))
507
MessageRpc messageRpc = this.
service
.SessionMessages[this.sessionMessageIndex];
528
SessionChannels sessionChannels = this.
service
.GetSessionChannels(messageRpc.Impersonating);
557
else if (this.
service
.GetTransactionForSending(messageRpc) == null)
561
this.
service
.SessionException = e;
597
if (this.
service
.SessionMessages.Count == 0)
600
Fx.Assert(!this.
service
.ChannelExtension.TransactedReceiveEnabled, "Should only happen for non-transactional cases");
604
foreach (MessageRpc messageRpc in this.
service
.SessionMessages)
629
if (this.
service
.SessionException != null)
632
this.Fault(this.
service
.SessionException);
637
MessageRpc messageRpc = this.
service
.SessionMessages[this.sessionMessageIndex];
646
using (this.PrepareTransactionalCall(this.
service
.GetTransactionForSending(messageRpc)))
696
MessageRpc messageRpc = this.
service
.SessionMessages[this.sessionMessageIndex];
699
if (++this.sessionMessageIndex >= this.
service
.SessionMessages.Count)
708
if (this.
service
.RetryTransaction != null)
712
TD.RoutingServiceCommittingTransaction(this.
service
.RetryTransaction.TransactionInformation.LocalIdentifier);
715
IAsyncResult result = this.
service
.RetryTransaction.BeginCommit(
727
Transaction transaction = this.
service
.GetTransactionForSending(null);
760
this.
service
.RetryTransaction.EndCommit(result);
771
exception = this.
service
.SessionException;
789
this.
service
.ResetSession();