113 references to DispatchRuntime
System.ServiceModel (55)
System\ServiceModel\Channels\PeerService.cs (1)
246endpointDispatcher.DispatchRuntime.OperationSelector = new OperationSelector(this.messageHandler);
System\ServiceModel\Channels\ServiceChannel.cs (4)
115this.clientRuntime = endpointDispatcher.DispatchRuntime.CallbackClientRuntime; 119this.autoClose = endpointDispatcher.DispatchRuntime.AutomaticInputSessionShutdown; 199return this.endpointDispatcher.DispatchRuntime; 247this.clientRuntime = value.DispatchRuntime.CallbackClientRuntime;
System\ServiceModel\Description\DispatcherBuilder.cs (5)
850behavior.ApplyDispatchBehavior(endpoint.Contract, endpoint, dispatcher.DispatchRuntime); 861DispatcherBuilder.BindOperations(endpoint.Contract, null, dispatcher.DispatchRuntime); 910DispatchRuntime dispatch = endpointInfos[i].EndpointDispatcher.DispatchRuntime; 942DispatchRuntime dispatch = dispatcher.DispatchRuntime; 1272endpointDispatcher.DispatchRuntime.IgnoreTransactionMessageProperty = !UsesTransactionFlowProperties(
System\ServiceModel\Description\MustUnderstandBehavior.cs (1)
41endpointDispatcher.DispatchRuntime.ValidateMustUnderstand = this.ValidateMustUnderstand;
System\ServiceModel\Description\ServiceAuthenticationBehavior.cs (1)
139DispatchRuntime behavior = endpointDispatcher.DispatchRuntime;
System\ServiceModel\Description\ServiceAuthorizationBehavior.cs (1)
207DispatchRuntime behavior = endpointDispatcher.DispatchRuntime;
System\ServiceModel\Description\ServiceCredentials.cs (1)
309DispatchRuntime behavior = endpointDispatcher.DispatchRuntime;
System\ServiceModel\Description\ServiceDebugBehavior.cs (1)
202((ServiceMetadataExtension.HttpGetImpl)channelDispatcher.Endpoints[0].DispatchRuntime.SingletonInstanceContext.UserObject).HelpPageEnabled = true;
System\ServiceModel\Description\ServiceMetadataBehavior.cs (2)
240((ServiceMetadataExtension.HttpGetImpl)channelDispatcher.Endpoints[0].DispatchRuntime.SingletonInstanceContext.UserObject).GetWsdlEnabled = true; 303DispatchRuntime dispatcher = channelDispatcher.Endpoints[0].DispatchRuntime;
System\ServiceModel\Description\ServiceMetadataExtension.cs (8)
379channelDispatcher.Endpoints[0].DispatchRuntime.SingletonInstanceContext != null && 380channelDispatcher.Endpoints[0].DispatchRuntime.SingletonInstanceContext.UserObject is HttpGetImpl) 437DispatchOperation operationDispatcher = new DispatchOperation(dispatcher.DispatchRuntime, HttpGetImpl.GetMethodName, HttpGetImpl.RequestAction, HttpGetImpl.ReplyAction); 441dispatcher.DispatchRuntime.Operations.Add(operationDispatcher); 445dispatcher.DispatchRuntime.SingletonInstanceContext = new InstanceContext(owner, impl, false); 446dispatcher.DispatchRuntime.MessageInspectors.Add(impl); 450dispatcher.DispatchRuntime.InstanceContextProvider = InstanceContextProviderBase.GetProviderForMode(InstanceContextMode.Single, dispatcher.DispatchRuntime);
System\ServiceModel\Description\ServiceSecurityAuditBehavior.cs (1)
130DispatchRuntime behavior = endpointDispatcher.DispatchRuntime;
System\ServiceModel\Description\TransactedBatchingBehavior.cs (1)
64if (endpointDispatcher.DispatchRuntime.ReleaseServiceInstanceOnTransactionComplete)
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (2)
825endpoint.DispatchRuntime.GetRuntime(); 827endpoint.DispatchRuntime.LockDownProperties();
System\ServiceModel\Dispatcher\ChannelHandler.cs (2)
150if (ConcurrencyMode.Multiple != endpointDispatcher.DispatchRuntime.ConcurrencyMode) 605this.requestInfo.DispatchRuntime = this.requestInfo.Endpoint.DispatchRuntime;
System\ServiceModel\Dispatcher\ConcurrencyBehavior.cs (2)
72if (endpointDispatcher.DispatchRuntime.EnsureOrderedDispatch) 77if (endpointDispatcher.DispatchRuntime.ConcurrencyMode != ConcurrencyMode.Single)
System\ServiceModel\Dispatcher\EndpointDispatcher.cs (1)
79this.dispatchRuntime = baseEndpoint.DispatchRuntime;
System\ServiceModel\Security\ImpersonateOnSerializingReplyMessageProperty.cs (2)
110DispatchRuntime dispatchRuntime = endpointDispatcher.DispatchRuntime; 136DispatchRuntime dispatchRuntime = endpointDispatcher.DispatchRuntime;
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (8)
999endpointDispatcher.DispatchRuntime.SingletonInstanceContext = new InstanceContext(null, this.authenticator, false); 1000endpointDispatcher.DispatchRuntime.ConcurrencyMode = ConcurrencyMode.Multiple; 1004endpointDispatcher.DispatchRuntime.PrincipalPermissionMode = PrincipalPermissionMode.None; 1005endpointDispatcher.DispatchRuntime.InstanceContextProvider = new SingletonInstanceContextProvider(endpointDispatcher.DispatchRuntime); 1006endpointDispatcher.DispatchRuntime.SynchronizationContext = null; 1008DispatchOperation operation = new DispatchOperation(endpointDispatcher.DispatchRuntime, "*", MessageHeaders.WildcardAction, MessageHeaders.WildcardAction); 1012endpointDispatcher.DispatchRuntime.UnhandledDispatchOperation = operation;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (9)
1188endpointDispatcher.DispatchRuntime.SingletonInstanceContext = new InstanceContext(null, this.authenticator, false); 1189endpointDispatcher.DispatchRuntime.ConcurrencyMode = ConcurrencyMode.Multiple; 1193endpointDispatcher.DispatchRuntime.PrincipalPermissionMode = PrincipalPermissionMode.None; 1194endpointDispatcher.DispatchRuntime.InstanceContextProvider = new SingletonInstanceContextProvider(endpointDispatcher.DispatchRuntime); 1195endpointDispatcher.DispatchRuntime.SynchronizationContext = null; 1202endpointDispatcher.DispatchRuntime.ServiceAuthenticationManager = new SCTServiceAuthenticationManagerWrapper(serviceAuthenticationManager); 1206DispatchOperation operation = new DispatchOperation(endpointDispatcher.DispatchRuntime, "*", MessageHeaders.WildcardAction, MessageHeaders.WildcardAction); 1210endpointDispatcher.DispatchRuntime.UnhandledDispatchOperation = operation;
System\ServiceModel\ServiceBehaviorAttribute.cs (2)
381DispatchRuntime behavior = endpointDispatcher.DispatchRuntime; 434DispatchRuntime dispatch = endpointDispatcher.DispatchRuntime;
System.ServiceModel.Activities (9)
System\ServiceModel\Activities\ClientOperationFormatterProvider.cs (1)
36dummyDispatchRuntime = dispatcher.DispatchRuntime;
System\ServiceModel\Activities\Description\BufferedReceiveServiceBehavior.cs (2)
51endpointDispatcher.DispatchRuntime.PreserveMessage = true; 54foreach (DispatchOperation dispatchOperation in endpointDispatcher.DispatchRuntime.Operations)
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (1)
139endpointDispatcher.DispatchRuntime.PreserveMessage = true;
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (3)
193DispatchOperation operationDispatcher = new DispatchOperation(endpointDispatcher.DispatchRuntime, operation.Name, 203endpointDispatcher.DispatchRuntime.Operations.Add(operationDispatcher); 209DispatchRuntime dispatchRuntime = endpointDispatcher.DispatchRuntime;
System\ServiceModel\Activities\Description\WorkflowServiceBehavior.cs (1)
61DispatchRuntime dispatchRuntime = endPointDispatcher.DispatchRuntime;
System\ServiceModel\Activities\ServiceOperationFormatterProvider.cs (1)
26dummyDispatchRuntime = dispatcher.DispatchRuntime;
System.ServiceModel.Discovery (6)
System\ServiceModel\Discovery\DiscoveryOperationContextExtensionInitializer.cs (1)
35endpointDispatcher.DispatchRuntime.MessageInspectors.Add(this);
System\ServiceModel\Discovery\ServiceDiscoveryBehavior.cs (1)
138DispatchRuntime dispatchRuntime = endpointDispatcher.DispatchRuntime;
System\ServiceModel\Discovery\UdpContractFilterBehavior.cs (1)
38endpointDispatcher.DispatchRuntime.UnhandledDispatchOperation.Invoker = new UnhandledActionOperationInvoker();
System\ServiceModel\Discovery\UdpReplyToBehavior.cs (3)
67endpointDispatcher.DispatchRuntime.MessageInspectors.Add(this); 68if (endpointDispatcher.DispatchRuntime.CallbackClientRuntime != null) 70endpointDispatcher.DispatchRuntime.CallbackClientRuntime.MessageInspectors.Add(this);
System.ServiceModel.Routing (6)
System\ServiceModel\Routing\RoutingBehavior.cs (6)
50DispatchRuntime dispatchRuntime = endpointDispatcher.DispatchRuntime; 177endpointDispatcher.DispatchRuntime.InputSessionShutdownHandlers.Add(this); 178endpointDispatcher.DispatchRuntime.AutomaticInputSessionShutdown = false; 180if (endpointDispatcher.DispatchRuntime.ImpersonateCallerForAllOperations) 200endpointDispatcher.DispatchRuntime.TransactionAutoCompleteOnSessionClose = true; 217endpointDispatcher.DispatchRuntime.TransactionAutoCompleteOnSessionClose = false;
System.ServiceModel.Web (26)
System\ServiceModel\Description\WebHttpBehavior.cs (20)
166endpointDispatcher.DispatchRuntime.MessageInspectors.Add(new JavascriptCallbackMessageInspector(this.JavascriptCallbackParameterName)); 181endpointDispatcher.DispatchRuntime.OperationSelector = this.GetOperationSelector(endpoint); 201endpointDispatcher.DispatchRuntime.Operations.Add( 202endpointDispatcher.DispatchRuntime.UnhandledDispatchOperation); 222endpointDispatcher.DispatchRuntime.MessageInspectors.Add(formatSelectingMessageInspector); 233endpointDispatcher.DispatchRuntime.UnhandledDispatchOperation = new DispatchOperation(endpointDispatcher.DispatchRuntime, "*", WildcardAction, WildcardAction); 234endpointDispatcher.DispatchRuntime.UnhandledDispatchOperation.DeserializeRequest = false; 235endpointDispatcher.DispatchRuntime.UnhandledDispatchOperation.SerializeReply = false; 236endpointDispatcher.DispatchRuntime.UnhandledDispatchOperation.Invoker = new HttpUnhandledOperationInvoker { HelpUri = this.HelpUri }; 243if (endpointDispatcher.DispatchRuntime.Operations.Contains(od.Name)) 246dop = endpointDispatcher.DispatchRuntime.Operations[od.Name]; 249else if (endpointDispatcher.DispatchRuntime.UnhandledDispatchOperation.Name == od.Name) 251dop = endpointDispatcher.DispatchRuntime.UnhandledDispatchOperation; 286DispatchOperation dispatchOperation = new DispatchOperation(endpointDispatcher.DispatchRuntime, HelpOperationInvoker.OperationName, null, null) 290Invoker = new HelpOperationInvoker(helpPage, endpointDispatcher.DispatchRuntime.UnhandledDispatchOperation.Invoker), 292endpointDispatcher.DispatchRuntime.Operations.Add(dispatchOperation); 543WebErrorHandler errorHandler = new WebErrorHandler(this, endpoint.Contract, endpointDispatcher.DispatchRuntime.ChannelDispatcher.IncludeExceptionDetailInFaults); 544endpointDispatcher.DispatchRuntime.ChannelDispatcher.ErrorHandlers.Add(errorHandler); 1079DispatchRuntime dispatchRuntime = dummyED.DispatchRuntime;
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (5)
302DispatchOperation dispatchOperation = new DispatchOperation(metadataEndpointDispatcher.DispatchRuntime, metadataOperation.Name, metadataOperation.Messages[0].Action, metadataOperation.Messages[1].Action); 305metadataEndpointDispatcher.DispatchRuntime.Operations.Add(dispatchOperation); 306metadataEndpointDispatcher.DispatchRuntime.SingletonInstanceContext = new InstanceContext(host, new WebScriptClientGenerator(endpoint, debugMode, !String.IsNullOrEmpty(this.JavascriptCallbackParameterName))); 307metadataEndpointDispatcher.DispatchRuntime.InstanceContextProvider = new SingletonInstanceContextProvider(metadataEndpointDispatcher.DispatchRuntime);
System\ServiceModel\Web\WebOperationContext.cs (1)
346WebHttpDispatchOperationSelector selector = OperationContext.Current.EndpointDispatcher.DispatchRuntime.OperationSelector as WebHttpDispatchOperationSelector;
System.WorkflowServices (11)
System\ServiceModel\Description\DurableServiceAttribute.cs (4)
168endpointDispatcher.DispatchRuntime.InstanceContextProvider = instanceContextProvider; 184endpointDispatcher.DispatchRuntime.InstanceContextProvider = singleCallInstanceContextProvider; 186endpointDispatcher.DispatchRuntime.MessageInspectors.Add(new DurableMessageDispatchInspector(serviceEndPoint.Contract.SessionMode)); 187endpointDispatcher.DispatchRuntime.InstanceProvider = instanceProvider;
System\ServiceModel\Description\WorkflowServiceBehavior.cs (5)
294DispatchRuntime dispatchRuntime = endPointDispatcher.DispatchRuntime; 331endPointDispatcher.DispatchRuntime.InstanceContextProvider = instanceContextProvider; 342endPointDispatcher.DispatchRuntime.InstanceContextProvider = singleCallInstanceContextProvider; 344endPointDispatcher.DispatchRuntime.MessageInspectors.Add(new DurableMessageDispatchInspector(serviceEndPoint.Contract.SessionMode)); 345endPointDispatcher.DispatchRuntime.InstanceProvider = instanceProvider;
System\ServiceModel\Dispatcher\DurableRuntimeValidator.cs (2)
44OperationContext.Current.EndpointDispatcher.DispatchRuntime != null, 48this.concurrencyMode = OperationContext.Current.EndpointDispatcher.DispatchRuntime.ConcurrencyMode;