1 write to Contract
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
654serviceEndpoint.Contract = contract;
239 references to Contract
System.ServiceModel (152)
System\ServiceModel\Administration\EndpointInfo.cs (1)
37this.contract = endpoint.Contract;
System\ServiceModel\CallbackBehaviorAttribute.cs (2)
178if (!serviceEndpoint.Contract.IsDuplex()) 181SR.SFxCallbackBehaviorAttributeOnlyOnDuplex, serviceEndpoint.Contract.Name)));
System\ServiceModel\ChannelFactory.cs (9)
238OperationDescriptionCollection operations = this.Endpoint.Contract.Operations; 258serviceEndpointFromConfig = ConfigLoader.LookupEndpoint(configurationName, address, this.serviceEndpoint.Contract); 285serviceEndpointFromConfig = ConfigLoader.LookupEndpoint(configurationName, address, this.serviceEndpoint.Contract, configuration.EvaluationContext); 707throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxCreateNonDuplexChannel1, this.Endpoint.Contract.Name))); 839if (endpoint.Contract.CallbackContractType == null) 841throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SfxCallbackTypeCannotBeNull, endpoint.Contract.ContractType.FullName))); 848if (endpoint.Contract.CallbackContractType == null) 850throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SfxCallbackTypeCannotBeNull, endpoint.Contract.ContractType.FullName))); 866endpoint.Contract.Behaviors.Add(contractBehavior);
System\ServiceModel\Channels\ContextBindingElement.cs (2)
311&& endpoint.Contract != null 313&& endpoint.Contract.SessionMode != SessionMode.NotAllowed)
System\ServiceModel\Channels\PeerNeighborManager.cs (1)
1068this.channelFactory.Endpoint.Contract.Behaviors.Add(new PeerOperationSelectorBehavior(this.messageHandler));
System\ServiceModel\Channels\ServiceChannelFactory.cs (1)
118ContractDescription contractDescription = serviceEndpoint.Contract;
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (1)
66new ComPlusServiceHostCreatedServiceEndpointSchema(info.AppID, info.Clsid, endpoint.Contract.Name,
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceSchemas.cs (2)
964this.contract = endpoint.Contract.Name; 965this.contractNamespace = endpoint.Contract.Namespace;
System\ServiceModel\ComIntegration\ComPlusServiceLoader.cs (1)
100if (endpoint.Contract.SessionMode == SessionMode.Required)
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (2)
414contractDescription = endpoint.Contract; 418SR.TraceCodeComIntegrationMexChannelBuilderLoaded, endpoint.Contract, endpoint.Binding, address);
System\ServiceModel\DeliveryRequirementsAttribute.cs (1)
87string name = endpoint.Contract.ContractType.Name;
System\ServiceModel\Description\ConfigLoader.cs (4)
150ChannelEndpointElement channelElement = LookupChannel(this.configurationContext, configurationName, serviceEndpoint.Contract, null, wildcard, false, out standardEndpoint); 155throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxConfigContractNotFound, serviceEndpoint.Contract.ConfigurationName))); 159throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxConfigChannelConfigurationNotFound, configurationName, serviceEndpoint.Contract.ConfigurationName))); 1286if (serviceEndpoint.Contract.ConfigurationName == contract.ConfigurationName &&
System\ServiceModel\Description\DispatcherBuilder.cs (24)
58foreach (OperationDescription operationDesc in endpoint.Contract.Operations) 86ContractDescription contractDescription = serviceEndpoint.Contract; 206ContractDescription contract = endpoint.Contract; 210if (description.Endpoints[j].Contract == contract) 222foreach (IContractBehavior icb in endpoint.Contract.Behaviors) 224icb.AddBindingParameters(endpoint.Contract, endpoint, parameters); 230foreach (OperationDescription op in endpoint.Contract.Operations) 269ContractDescription contract = stuff.Endpoints[i].Contract; 650foreach (OperationDescription operation in endpoint.Contract.Operations) 668endpoint.Contract.Name, 753EndpointDispatcher dispatcher = DispatcherBuilder.BuildDispatcher(serviceHost, description, endpoint, endpoint.Contract, provider); 755for (int j = 0; j < endpoint.Contract.Operations.Count; j++) 757OperationDescription operation = endpoint.Contract.Operations[j]; 787PerformanceCounters.AddPerformanceCountersForEndpoint(serviceHost, endpoint.Contract, dispatcher); 847for (int k = 0; k < endpoint.Contract.Behaviors.Count; k++) 849IContractBehavior behavior = endpoint.Contract.Behaviors[k]; 850behavior.ApplyDispatchBehavior(endpoint.Contract, endpoint, dispatcher.DispatchRuntime); 861DispatcherBuilder.BindOperations(endpoint.Contract, null, dispatcher.DispatchRuntime); 1054ContractDescription contractDescription = serviceEndpoint.Contract; 1211if (serviceEndpoint.Contract.IsDuplex()) 1268serviceEndpoint.Contract); 1273serviceEndpoint.Binding.CreateBindingElements(), serviceEndpoint.Contract); 1353requirements.Add(ChannelProtectionRequirements.CreateFromContractAndUnionResponseProtectionRequirements(endpoint.Contract, isc, isForClient)); 1357requirements.Add(ChannelProtectionRequirements.CreateFromContract(endpoint.Contract, isc, isForClient));
System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
49foreach (OperationDescription operationDescription in endpoint.Contract.Operations)
System\ServiceModel\Description\MessageContractExporter.cs (1)
690if (this.exportedMessages.WsdlHeaderMessages.TryGetValue(new MessageDescriptionDictionaryKey(this.endpointContext.Endpoint.Contract, message), out headerMessage))
System\ServiceModel\Description\MessageContractImporter.cs (1)
89return importer.KnownContracts.ContainsValue(endpointContext.Endpoint.Contract);
System\ServiceModel\Description\PolicyConversionContext.cs (1)
21this.contract = endpoint.Contract;
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
150if (referencedTypes.TryGetValue(endpoint.Contract, out existingType)) 157retVal = GenerateServiceContractType(endpoint.Contract);
System\ServiceModel\Description\ServiceEndpoint.cs (6)
109return String.Format(CultureInfo.InvariantCulture, "{0}_{1}", new XmlName(Binding.Name).EncodedName, Contract.Name); 113return Contract.Name; 195if (Contract == null) 199this.Contract.EnsureInvariants(); 200this.Binding.EnsureInvariants(this.Contract.Name); 234ContractDescription contract = this.Contract;
System\ServiceModel\Description\ServiceEndpointCollection.cs (9)
28if (endpoint != null && endpoint.Contract.ContractType == contractType) 46if (endpoint != null && endpoint.Contract.Name == contractName.Name && endpoint.Contract.Namespace == contractName.Namespace) 68if (endpoint != null && endpoint.Contract.ContractType == contractType && 92if (endpoint != null && endpoint.Contract.Name == contractName.Name && 93endpoint.Contract.Namespace == contractName.Namespace && 133if (endpoint != null && endpoint.Contract.ContractType == contractType) 153if (endpoint != null && endpoint.Contract.Name == contractName.Name && endpoint.Contract.Namespace == contractName.Namespace)
System\ServiceModel\Description\ServiceMetadataBehavior.cs (4)
397return (endpoint.Contract.Name == ServiceMetadataBehavior.MexContractName 398&& endpoint.Contract.Namespace == ServiceMetadataBehavior.MexContractNamespace); 477ServiceMetadataContractBehavior contractBehavior = endpoint.Contract.Behaviors.Find<ServiceMetadataContractBehavior>(); 490ServiceEndpoint exportedEndpoint = new ServiceEndpoint(endpoint.Contract);
System\ServiceModel\Description\TransactedBatchingBehavior.cs (2)
66if (serviceEndpoint.Contract.SessionMode == SessionMode.Required) 72if (serviceEndpoint.Contract.SessionMode == SessionMode.Required)
System\ServiceModel\Description\TypeLoader.cs (5)
525if (serviceEndpoint.Contract.IsDuplex()) 550serviceEndpoint.Contract.Behaviors.Add(behaviorAttribute); 552Type targetIface = serviceEndpoint.Contract.CallbackContractType; 553for (int i = 0; i < serviceEndpoint.Contract.Operations.Count; i++) 555OperationDescription opDesc = serviceEndpoint.Contract.Operations[i];
System\ServiceModel\Description\WsdlEndpointConversionContext.cs (2)
75foreach (IWsdlExportExtension extension in endpoint.Contract.Behaviors.FindAll<IWsdlExportExtension>()) 80foreach (OperationDescription operation in endpoint.Contract.Operations)
System\ServiceModel\Description\WsdlExporter.cs (12)
157this.ExportContract(endpoint.Contract); 161WsdlContractConversionContext contractContext = this.exportedContracts[endpoint.Contract]; 180foreach (OperationDescription operation in endpoint.Contract.Operations) 187WsdlNS.OperationBinding wsdlOperationBinding = CreateWsdlOperationBinding(endpoint.Contract, operation); 219exportedBindings.Add(new BindingDictionaryKey(endpoint.Contract, endpoint.Binding), endpointContext); 223endpointContext = new WsdlEndpointConversionContext(exportedBindings[new BindingDictionaryKey(endpoint.Contract, endpoint.Binding)], endpoint, wsdlPort); 229Errors.Add(new MetadataConversionError(SR.GetString(SR.WarnDuplicateBindingQNameNameOnExport, endpoint.Binding.Name, endpoint.Binding.Namespace, endpoint.Contract.Name), true /*isWarning*/)); 316if (!exportedBindings.TryGetValue(new BindingDictionaryKey(endpoint.Contract, endpoint.Binding), out bindingConversionContext)) 324WsdlNS.PortType wsdlPortType = exportedContracts[endpoint.Contract].WsdlPortType; 744foreach (OperationDescription operation in endpoint.Contract.Operations) 1218endpoint.Contract.Name, 1219endpoint.Contract.Namespace,
System\ServiceModel\Description\WsdlImporter.cs (4)
457endpoint = new ServiceEndpoint(bindingEndpointContext.Endpoint.Contract); 845operation = FindOperationDescription(endpointContext.Endpoint.Contract, wsdlOperationBinding); 2218policyAlternatives.OperationBindingAlternatives = new Dictionary<OperationDescription, IEnumerable<IEnumerable<XmlElement>>>(endpointContext.Endpoint.Contract.Operations.Count); 2222foreach (OperationDescription operation in endpointContext.Endpoint.Contract.Operations)
System\ServiceModel\Dispatcher\DataContractSerializerServiceBehavior.cs (1)
80foreach (OperationDescription operation in endpoint.Contract.Operations)
System\ServiceModel\Dispatcher\PeerValidationBehavior.cs (2)
49ContractDescription contract = serviceEndpoint.Contract; 82ValidateHelper(endpoint.Contract, endpoint.Binding);
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (15)
119ValidateBinding(binding, serviceEndpoint.Contract, out sbe); 152ValidateBinding(binding, endpoint.Contract, out sbe); 155SecurityTokenParameterInclusionModeRule.Validate(sbe, binding, endpoint.Contract, description.Behaviors); 290for (int j = 0; j < endpoint.Contract.Operations.Count; j++) 292OperationDescription operation = endpoint.Contract.Operations[j]; 298throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.OperationDoesNotAllowImpersonation, operation.Name, endpoint.Contract.Name, endpoint.Contract.Namespace))); 302ValidateWindowsIdentityCapability(endpoint.Binding, endpoint.Contract, operation); 391SR.GetString(SR.CannotPerformS4UImpersonationOnPlatform, endpoint.Binding.Name, endpoint.Binding.Namespace, endpoint.Contract.Name, endpoint.Contract.Namespace))); 949ContractProtectionRequirementsRule.GetRequiredProtectionLevels(endpoint.Contract, security.GetIndividualProperty<ISecurityCapabilities>().SupportedRequestProtectionLevel, security.GetIndividualProperty<ISecurityCapabilities>().SupportedResponseProtectionLevel, 1036throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotPerformImpersonationOnUsernameToken, endpoint.Binding.Name, endpoint.Binding.Namespace, endpoint.Contract.Name, endpoint.Contract.Namespace))); 1054for (int i = 0; i < endpoint.Contract.Operations.Count; ++i) 1056OperationDescription operation = endpoint.Contract.Operations[i];
System\ServiceModel\Dispatcher\TransactionValidationBehavior.cs (16)
33for (int i = 0; i < endpoint.Contract.Operations.Count; i++) 35OperationDescription operationDescription = endpoint.Contract.Operations[i]; 63serviceEndpoint.Contract.Name, 72SR.GetString(SR.SFxTransactionAutoCompleteFalseOnCallbackContract, autoCompleteFalseOperation.Name, serviceEndpoint.Contract.Name))); 89SR.GetString(SR.SFxTransactionTransactionTimeoutNeedsScope, endpoint.Contract.Name))); 95SR.GetString(SR.SFxTransactionIsolationLevelNeedsScope, endpoint.Contract.Name))); 139ContractDescription contract = endpoint.Contract; 169endpoint.Contract.Name, autoCompleteFalseOperation.Name))); 180endpoint.Contract.Name, autoCompleteFalseOperation.Name))); 188foreach (OperationDescription operation in endpoint.Contract.Operations) 258for (int i = 0; i < endpoint.Contract.Operations.Count; i++) 260OperationDescription operation = endpoint.Contract.Operations[i]; 276SR.GetString(SR.SFxOneWayAndTransactionsIncompatible, endpoint.Contract.Name, operation.Name))); 297for (int j = 0; j < endpoint.Contract.Operations.Count; j++) 299OperationDescription operation = endpoint.Contract.Operations[j]; 338return endpoint.Contract.SessionMode == SessionMode.Required;
System\ServiceModel\Dispatcher\UniqueContractNameValidationBehavior.cs (4)
29XmlQualifiedName qname = new XmlQualifiedName(endpoint.Contract.Name, endpoint.Contract.Namespace); 33contracts.Add(qname, endpoint.Contract); 35else if (contracts[qname] != endpoint.Contract)
System\ServiceModel\DuplexChannelFactory.cs (2)
239throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxCreateDuplexChannel1, this.Endpoint.Contract.Name))); 243Type callbackType = this.Endpoint.Contract.CallbackContractType;
System\ServiceModel\MsmqIntegration\MsmqIntegrationValidationBehavior.cs (2)
34ContractDescription contract = serviceEndpoint.Contract; 72ValidateHelper(endpoint.Contract, endpoint.Binding, description);
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2998ContractDescription contract = endpoint.Contract;
System\ServiceModel\Security\WSTrustDec2005.cs (1)
116SetProtectionLevelForFederation(result.Endpoint.Contract.Operations);
System\ServiceModel\Security\WSTrustFeb2005.cs (1)
253SetProtectionLevelForFederation(result.Endpoint.Contract.Operations);
System\ServiceModel\ServiceConfiguration.cs (3)
171if (endpoint.Contract == null) 181if (!endpoint.IsSystemEndpoint || (endpoint.Contract.ContractType == typeof(IMetadataExchange))) 188configLoader.LookupContract(endpoint.Contract.ConfigurationName, this.Description.Name); // throws on failure
System\ServiceModel\ServiceHost.cs (3)
405if (endpoint.Contract == null) 413if (!endpoint.IsSystemEndpoint || endpoint.Contract.ContractType == typeof(IMetadataExchange)) 416loader.LookupContract(endpoint.Contract.ConfigurationName, this.Description.Name);
System.ServiceModel.Activities (22)
System\ServiceModel\Activities\ContractInferenceHelper.cs (3)
167if (serviceEndpoint.Contract.ContractType == null) 170Fx.Assert(serviceEndpoint.Contract.Operations.Count == 1, "Client side contract should have exactly one operation!"); 172serviceEndpoint.Contract.Operations[0].Behaviors.Add(new TransactionFlowAttribute(TransactionFlowOption.Allowed));
System\ServiceModel\Activities\Description\BufferedReceiveServiceBehavior.cs (2)
74foreach (OperationDescription operation in serviceEndpoint.Contract.Operations) 100foreach (OperationDescription operation in serviceEndpoint.Contract.Operations)
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (1)
214foreach (OperationDescription operation in endpoint.Contract.Operations)
System\ServiceModel\Activities\Description\WorkflowServiceBehavior.cs (1)
112return serviceEndpoint is WorkflowHostingEndpoint || serviceEndpoint.Contract.Behaviors.Contains(typeof(WorkflowContractBehaviorAttribute));
System\ServiceModel\Activities\InternalSendMessage.cs (4)
266serviceEndpointFromConfig = ConfigLoader.LookupEndpoint(configurationName, null, serviceEndpoint.Contract); 317result.Contract.ConfigurationName = this.ServiceContractName.LocalName; 327this.cachedContract = result.Contract; 1354targetEndpoint.Contract, this.correlationQueries);
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (3)
32this.Contract.Behaviors.Add(new ServiceMetadataContractBehavior(false)); 33this.Contract.Behaviors.Add(new WorkflowHostingContractBehavior()); 42foreach (OperationDescription operationDescription in this.Contract.Operations)
System\ServiceModel\Activities\WorkflowServiceHost.cs (8)
366TD.ServiceEndpointAdded(address.Uri.ToString(), binding.GetType().ToString(), serviceEndpoint.Contract.Name); 588Fx.Assert(serviceEndpoint.Contract != null, "ServiceEndpoint must have a contract!"); 593XName endpointContractName = XName.Get(serviceEndpoint.Contract.Name, serviceEndpoint.Contract.Namespace); 652if (contractDescriptionDictionary.TryGetValue(serviceEndpoint.Contract.ContractType, out contract)) 658contractDescriptionDictionary[serviceEndpoint.Contract.ContractType] = serviceEndpoint.Contract; 696foreach (OperationDescription operation in serviceEndpoint.Contract.Operations)
System.ServiceModel.Discovery (10)
System\ServiceModel\Discovery\Configuration\DynamicEndpointElement.cs (2)
119new XmlQualifiedName(dynamicEndpoint.Contract.Name, dynamicEndpoint.Contract.Namespace));
System\ServiceModel\Discovery\EndpointDiscoveryMetadata.cs (8)
253XmlQualifiedName defaultContractTypeName = new XmlQualifiedName(endpoint.Contract.Name, endpoint.Contract.Namespace); 273new XmlQualifiedName(endpoint.Contract.Name, endpoint.Contract.Namespace))); 307IsDiscoveryContract(endpoint.Contract.Name, endpoint.Contract.Namespace)); 330return ((string.CompareOrdinal(endpoint.Contract.Name, MetadataContractName.Name) == 0) && 331(string.CompareOrdinal(endpoint.Contract.Namespace, MetadataContractName.Namespace) == 0));
System.ServiceModel.Routing (5)
System\ServiceModel\Routing\Configuration\ClientEndpointLoader.cs (1)
30ep.Contract.ConfigurationName = "*";
System\ServiceModel\Routing\RoutingBehavior.cs (3)
67RoutingUtilities.IsRoutingServiceNamespace(endpoint.Contract.Namespace)) 192foreach (OperationDescription operation in endpoint.Contract.Operations) 207foreach (OperationDescription operation in endpoint.Contract.Operations)
System\ServiceModel\Routing\RoutingChannelExtension.cs (1)
182Type contractType = endpointBehavior.Endpoint.Contract.ContractType;
System.ServiceModel.Web (31)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (2)
74if (this.serviceEndpoint.Contract.Behaviors.Contains(typeof(JavascriptCallbackBehaviorAttribute))) 76JavascriptCallbackBehaviorAttribute behavior = (JavascriptCallbackBehaviorAttribute)this.serviceEndpoint.Contract.Behaviors[typeof(JavascriptCallbackBehaviorAttribute)];
System\ServiceModel\Description\WebHttpBehavior.cs (21)
120this.reflector = new XmlSerializerOperationBehavior.Reflector(endpoint.Contract.Namespace, null); 121foreach (OperationDescription od in endpoint.Contract.Operations) 157if (endpoint.Contract.Behaviors.Contains(typeof(JavascriptCallbackBehaviorAttribute))) 159JavascriptCallbackBehaviorAttribute behavior = endpoint.Contract.Behaviors[typeof(JavascriptCallbackBehaviorAttribute)] as JavascriptCallbackBehaviorAttribute; 173this.reflector = new XmlSerializerOperationBehavior.Reflector(endpoint.Contract.Namespace, null); 186foreach (OperationDescription od in endpoint.Contract.Operations) 239foreach (OperationDescription od in endpoint.Contract.Operations) 285HelpPage helpPage = new HelpPage(this, endpoint.Contract); 458serviceEndpoint.Contract.Name, behaviorName))); 543WebErrorHandler errorHandler = new WebErrorHandler(this, endpoint.Contract, endpointDispatcher.DispatchRuntime.ChannelDispatcher.IncludeExceptionDetailInFaults); 668UriTemplateClientFormatter throwAway = new UriTemplateClientFormatter(operationDescription, null, GetQueryStringConverter(operationDescription), endpoint.Address.Uri, false, endpoint.Contract.Name); 729innerFormatter = new UriTemplateClientFormatter(operationDescription, innerFormatter, GetQueryStringConverter(operationDescription), endpoint.Address.Uri, isUntypedWhenUriParamsNotConsidered, endpoint.Contract.Name); 743UriTemplateDispatchFormatter throwAway = new UriTemplateDispatchFormatter(operationDescription, null, GetQueryStringConverter(operationDescription), endpoint.Contract.Name, endpoint.Address.Uri); 801result = new UriTemplateDispatchFormatter(operationDescription, result, GetQueryStringConverter(operationDescription), endpoint.Contract.Name, endpoint.Address.Uri); 1221foreach (OperationDescription od in endpoint.Contract.Operations) 1224ValidateNoMessageContractHeaders(od.Messages[0], od.Name, endpoint.Contract.Name); 1225ValidateNoBareMessageContractWithMultipleParts(od.Messages[0], od.Name, endpoint.Contract.Name); 1226ValidateNoMessageContractWithStream(od.Messages[0], od.Name, endpoint.Contract.Name); 1229ValidateNoMessageContractHeaders(od.Messages[1], od.Name, endpoint.Contract.Name); 1230ValidateNoBareMessageContractWithMultipleParts(od.Messages[1], od.Name, endpoint.Contract.Name); 1231ValidateNoMessageContractWithStream(od.Messages[1], od.Name, endpoint.Contract.Name);
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
48proxy = WCFServiceClientProxyGenerator.GetClientProxyScript(this.endpoint.Contract.ContractType, baseUri.AbsoluteUri, this.debugMode, endpoint);
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (3)
155foreach (OperationDescription operation in endpoint.Contract.Operations) 169endpoint.Contract.Name, method, this.GetType().ToString()))); 197endpoint.Contract.Name)));
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (3)
65foreach (OperationDescription od in endpoint.Contract.Operations) 83endpoint.Contract.Name, path, method))); 94endpoint.Contract.Name, path, method)));
System\ServiceModel\Web\WebServiceHost.cs (1)
172ContractDescription contract = endpoint.Contract;
System.Web.Extensions (1)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
649if (httpBindingEx == null || !httpBindingEx.IsHttpBindingContract(contract) || serviceEndpointList.Any(endpoint => endpoint.Contract == contract))
System.WorkflowServices (18)
System\ServiceModel\Activities\Description\WorkflowRuntimeServicesBehavior.cs (1)
75foreach (OperationDescription operation in endpoint.Contract.Operations)
System\ServiceModel\Activities\ExternalDataExchangeClient.cs (1)
18ContractDescription contractDescription = this.Endpoint.Contract;
System\ServiceModel\Description\DurableServiceAttribute.cs (10)
166if (serviceEndPoint.Contract.SessionMode != SessionMode.NotAllowed) 186endpointDispatcher.DispatchRuntime.MessageInspectors.Add(new DurableMessageDispatchInspector(serviceEndPoint.Contract.SessionMode)); 188WorkflowServiceBehavior.SetContractFilterToIncludeAllOperations(endpointDispatcher, serviceEndPoint.Contract); 198foreach (OperationDescription opDescription in endpoint.Contract.Operations) 264if (serviceEndpoint.Contract.SessionMode != SessionMode.NotAllowed) 269foreach (OperationDescription operation in serviceEndpoint.Contract.Operations) 279if (serviceEndpoint.Contract.SessionMode == SessionMode.NotAllowed) 287serviceEndpoint.Contract.Name, 300serviceEndpoint.Contract.Name, 301serviceEndpoint.Contract.SessionMode,
System\ServiceModel\Description\WorkflowServiceBehavior.cs (3)
329if (serviceEndPoint.Contract.SessionMode != SessionMode.NotAllowed) 344endPointDispatcher.DispatchRuntime.MessageInspectors.Add(new DurableMessageDispatchInspector(serviceEndPoint.Contract.SessionMode)); 346SetContractFilterToIncludeAllOperations(endPointDispatcher, serviceEndPoint.Contract);
System\Workflow\Runtime\Hosting\ChannelManager.cs (3)
51if (endpoint.Contract.ContractType != null) 53cacheAddress = ChannelManagerHelpers.BuildCacheAddress(endpoint.Name, endpoint.Contract.ContractType); 57cacheAddress = ChannelManagerHelpers.BuildCacheAddress(endpoint.Name, endpoint.Contract.Name);