1 write to messageRpc
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\ProcessRequestAsyncResult.cs (1)
32
this.
messageRpc
= new MessageRpc(message, OperationContext.Current, service.ChannelExtension.ImpersonationRequired);
30 references to messageRpc
System.ServiceModel.Routing (30)
System\ServiceModel\Routing\ProcessRequestAsyncResult.cs (30)
35
TD.RoutingServiceProcessingMessage(this.
messageRpc
.EventTraceActivity, this.
messageRpc
.UniqueID,
36
message.Headers.Action, this.
messageRpc
.OperationContext.EndpointDispatcher.EndpointAddress.Uri.ToString(),
messageRpc
.Transaction != null ? "True" : "False");
41
EndpointNameMessageFilter.Set(this.
messageRpc
.Message.Properties, service.ChannelExtension.EndpointName);
42
this.
messageRpc
.RouteToSingleEndpoint<TContract>(this.service.RoutingConfig);
47
throw FxTrace.Exception.AsError(new ConfigurationErrorsException(SR.ReqReplyMulticastNotSupported(this.
messageRpc
.OperationContext.Channel.LocalAddress), matchesException));
58
SendOperation sendOperation = this.
messageRpc
.Operations[0];
59
this.currentClient = this.service.GetOrCreateClient<TContract>(sendOperation.CurrentEndpoint, this.
messageRpc
.Impersonating);
63
TD.RoutingServiceTransmittingMessage(this.
messageRpc
.EventTraceActivity, this.
messageRpc
.UniqueID, "0", this.currentClient.Key.ToString());
68
if (
messageRpc
.Transaction != null && sendOperation.HasAlternate)
70
throw FxTrace.Exception.AsError(new ConfigurationErrorsException(SR.ErrorHandlingNotSupportedReqReplyTxn(this.
messageRpc
.OperationContext.Channel.LocalAddress)));
77
message =
messageRpc
.CreateBuffer().CreateMessage();
81
message =
messageRpc
.Message;
87
using (this.PrepareTransactionalCall(
messageRpc
.Transaction))
96
impersonationContext =
messageRpc
.PrepareCall();
98
result = this.currentClient.BeginOperation(message,
messageRpc
.Transaction, this.PrepareAsyncCompletion(operationCallback), this);
178
TD.RoutingServiceTransmitSucceeded(this.
messageRpc
.EventTraceActivity, this.
messageRpc
.UniqueID, "0", this.currentClient.Key.ToString());
186
TD.RoutingServiceSendingResponse(this.
messageRpc
.EventTraceActivity, action);
191
if (TD.RoutingServiceSendingFaultResponseIsEnabled()) { TD.RoutingServiceSendingFaultResponse(this.
messageRpc
.EventTraceActivity, responseMsg.Headers.Action); }
196
if (TD.RoutingServiceCompletingTwoWayIsEnabled()) { TD.RoutingServiceCompletingTwoWay(this.
messageRpc
.EventTraceActivity); }
208
SendOperation sendOperation = this.
messageRpc
.Operations[0];
209
if (TD.RoutingServiceTransmitFailedIsEnabled()) { TD.RoutingServiceTransmitFailed(this.
messageRpc
.EventTraceActivity, sendOperation.CurrentEndpoint.ToString(), exception); }
222
if (
messageRpc
.Transaction == null && !this.abortedRetry)
233
SessionChannels sessionChannels = this.service.GetSessionChannels(this.
messageRpc
.Impersonating);
258
SessionChannels sessionChannels = this.service.GetSessionChannels(this.
messageRpc
.Impersonating);
272
TD.RoutingServiceMovedToBackup(this.
messageRpc
.EventTraceActivity,
messageRpc
.UniqueID, "0", sendOperation.CurrentEndpoint.ToString());