1 write to Operation
System.ServiceModel (1)
System\ServiceModel\Dispatcher\MessageRpc.cs (1)
108
this.
Operation
= operation;
69 references to Operation
System.ServiceModel (69)
System\ServiceModel\Dispatcher\AuthorizationBehavior.cs (1)
75
PerformanceCounters.AuthorizationFailed(rpc.
Operation
.Name);
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
342
for (int i = 0; i < rpc.
Operation
.CallContextInitializers.Length; i++)
System\ServiceModel\Dispatcher\ErrorBehavior.cs (1)
36
MessageFault messageFault = rpc.
Operation
.FaultFormatter.Serialize(fault, out action);
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (19)
331
string message = SR.GetString(SR.SFxNullReplyFromExtension2, this.messageInspectors[i].GetType().ToString(), (rpc.
Operation
.Name ?? ""));
770
if (!rpc.
Operation
.IsOneWay)
782
SR.GetString(SR.TraceCodeServiceOperationMissingReply, rpc.
Operation
.Name ?? String.Empty),
789
SR.GetString(SR.TraceCodeServiceOperationMissingReplyContext, rpc.
Operation
.Name ?? String.Empty),
814
if (rpc.
Operation
.IsOneWay)
819
if (!rpc.
Operation
.IsOneWay && (context != null) && (rpc.Reply != null))
918
if (rpc.
Operation
.IsOneWay)
927
(rpc.
Operation
.Action != MessageHeaders.WildcardAction))
1049
if (rpc.
Operation
.TransactionRequired)
1078
if (rpc.
Operation
.TransactionRequired)
1153
if (this.concurrency.IsConcurrent(ref rpc) && !(rpc.
Operation
.Invoker is IManualConcurrencyOperationInvoker))
1186
if (!rpc.
Operation
.IsSynchronous)
1199
rpc.
Operation
.InvokeBegin(ref rpc);
1215
if (!rpc.
Operation
.IsSynchronous && rpc.IsPaused)
1233
if (success && (rpc.
Operation
.IsSynchronous || !rpc.IsPaused))
1257
rpc.NextProcessor = (rpc.
Operation
.IsSynchronous) ?
1276
if (rpc.
Operation
.IsSynchronous)
1300
rpc.
Operation
.InvokeEnd(ref rpc);
1507
IManualConcurrencyOperationInvoker manualInvoker = rpc.
Operation
.Invoker as IManualConcurrencyOperationInvoker;
System\ServiceModel\Dispatcher\InstanceBehavior.cs (2)
114
if (rpc.
Operation
.ReleaseInstanceAfterCall)
275
if (rpc.
Operation
.ReleaseInstanceBeforeCall)
System\ServiceModel\Dispatcher\MessageRpc.cs (6)
269
TD.DispatchSuccessful(this.EventTraceActivity, this.
Operation
.Name);
273
TD.DispatchFailed(this.EventTraceActivity, this.
Operation
.Name);
495
if (this.
Operation
.DisposeParameters)
714
AspNetEnvironment.Current.TraceIncrementBusyCount(SR.GetString(SR.ServiceBusyCountTrace, this.
Operation
.Action));
726
AspNetEnvironment.Current.TraceDecrementBusyCount(SR.GetString(SR.ServiceBusyCountTrace, this.
Operation
.Action));
809
string text = SR.GetString(SR.SFxMultipleCallbackFromAsyncOperation, rpc.
Operation
.Name);
System\ServiceModel\Dispatcher\ReceiveContextRPCFacet.cs (3)
27
if (messageRpc.
Operation
.ReceiveContextAcknowledgementMode == ReceiveContextAcknowledgementMode.ManualAcknowledgement)
44
if (messageRpc.
Operation
.ReceiveContextAcknowledgementMode == ReceiveContextAcknowledgementMode.AutoAcknowledgeOnReceive)
46
if (!messageRpc.
Operation
.TransactionRequired)
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (8)
175
return ((rpc.
Operation
.Impersonation == ImpersonationOption.Required)
176
|| ((rpc.
Operation
.Impersonation == ImpersonationOption.Allowed) && this.impersonateCallerForAllOperations));
246
throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SecurityContextDoesNotAllowImpersonation, rpc.
Operation
.Action)), rpc.Request);
256
SecurityTraceRecordHelper.TraceImpersonationSucceeded(rpc.EventTraceActivity, rpc.
Operation
);
262
this.suppressAuditFailure, rpc.
Operation
.Name, SecurityUtils.GetIdentityNamesFromContext(securityContext.AuthorizationContext));
271
SecurityTraceRecordHelper.TraceImpersonationFailed(rpc.EventTraceActivity, rpc.
Operation
, ex);
288
this.suppressAuditFailure, rpc.
Operation
.Name, primaryIdentity, ex);
364
throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SecurityContextMissing, rpc.
Operation
.Name)), rpc.Request);
System\ServiceModel\Dispatcher\TerminatingOperationBehavior.cs (1)
46
if (rpc.
Operation
.IsTerminating && rpc.Channel.HasSession)
System\ServiceModel\Dispatcher\TransactionBehavior.cs (27)
166
if (rpc.
Operation
.HasDefaultUnhandledActionInvoker)
175
if (rpc.
Operation
.IsInsideTransactedReceiveScope)
178
IInstanceTransaction instanceTransaction = rpc.
Operation
.Invoker as IInstanceTransaction;
192
rpc.
Operation
.Name)
214
if (rpc.
Operation
.TransactionRequired)
226
rpc.
Operation
.Name)
238
rpc.
Operation
.Name)
244
PerformanceCounters.TxFlowed(PerformanceCounters.GetEndpointDispatcher(), rpc.
Operation
.Name);
248
if (rpc.
Operation
.IsInsideTransactedReceiveScope)
330
if (rpc.
Operation
.TransactionRequired)
343
rpc.
Operation
.Name)
356
rpc.
Operation
.Name)
374
if (rpc.
Operation
.IsInsideTransactedReceiveScope)
393
if (!rpc.
Operation
.TransactionAutoComplete)
402
if (rpc.
Operation
.TransactionRequired)
410
if (rpc.
Operation
.TransactionRequired)
486
this.rpc.
Operation
.Name)
495
if (this.rpc.
Operation
.IsInsideTransactedReceiveScope)
519
if (this.rpc.
Operation
.TransactionAutoComplete)
532
SR.GetString(SR.SFxTransactionInvalidSetTransactionComplete, rpc.
Operation
.Name, rpc.Host.Description.Name)));
549
SR.GetString(SR.SFxMultiSetTransactionComplete, rpc.
Operation
.Name, rpc.Host.Description.Name)));
679
rpc.
Operation
.Name)
695
rpc.
Operation
.Name)
704
rpc.
Operation
.Name)
729
rpc.
Operation
.Name)
747
rpc.
Operation
.Name)
877
RemoveReferenceRM rrm = new RemoveReferenceRM(this.instanceContext, tx, rpc.
Operation
.Name);