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