4 instantiations of CorrelationQueryBehavior
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\InternalSendMessage.cs (1)
345
correlationQueryBehavior = new
CorrelationQueryBehavior
(new Collection<CorrelationQuery>());
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (1)
36
this.Behaviors.Add(new
CorrelationQueryBehavior
(this.correlationQueries));
System\ServiceModel\Activities\WorkflowServiceHost.cs (2)
615
serviceEndpoint.Behaviors.Add(new
CorrelationQueryBehavior
(uniqueQueries) { ServiceContractName = endpointContractName });
621
serviceEndpoint.Behaviors.Add(new
CorrelationQueryBehavior
(new Collection<CorrelationQuery>()) { ServiceContractName = endpointContractName });
21 references to CorrelationQueryBehavior
System.ServiceModel.Activities (21)
System\ServiceModel\Activities\Description\ControlOperationBehavior.cs (2)
59
CorrelationQueryBehavior
endpointQueryBehavior = endpoint.Behaviors.Find<
CorrelationQueryBehavior
>();
System\ServiceModel\Activities\Description\WorkflowOperationBehavior.cs (2)
91
CorrelationQueryBehavior
queryBehavior = endpoint.Behaviors.Find<
CorrelationQueryBehavior
>();
System\ServiceModel\Activities\InternalSendMessage.cs (13)
336
CorrelationQueryBehavior
correlationQueryBehavior = serviceEndpoint.Behaviors.Find<
CorrelationQueryBehavior
>();
341
if (
CorrelationQueryBehavior
.BindingHasDefaultQueries(serviceEndpoint.Binding)
379
static void EnsureCorrelationBehaviorScopeName(ActivityContext context,
CorrelationQueryBehavior
correlationBehavior)
970
CorrelationQueryBehavior
correlationBehavior = null;
971
Collection<
CorrelationQueryBehavior
> correlationQueryBehaviors = instance.OperationContext.Channel.Extensions.FindAll<
CorrelationQueryBehavior
>();
972
foreach (
CorrelationQueryBehavior
cqb in correlationQueryBehaviors)
1451
CorrelationQueryBehavior
correlationQueryBehavior = instance.FactoryReference.CorrelationQueryBehavior;
2522
public void RegisterCorrelationBehavior(
CorrelationQueryBehavior
correlationBehavior)
2765
CorrelationQueryBehavior
correlationQueryBehavior;
2813
public
CorrelationQueryBehavior
CorrelationQueryBehavior
2819
this.correlationQueryBehavior = this.targetEndpoint.Behaviors.Find<
CorrelationQueryBehavior
>();
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (1)
34
Fx.Assert(!this.Behaviors.Contains(typeof(
CorrelationQueryBehavior
)), "Must not contain correlation query!");
System\ServiceModel\Activities\WorkflowServiceHost.cs (3)
35
static readonly Type correlationQueryBehaviorType = typeof(
CorrelationQueryBehavior
);
617
else if (
CorrelationQueryBehavior
.BindingHasDefaultQueries(serviceEndpoint.Binding))
619
if (!serviceEndpoint.Behaviors.Contains(typeof(
CorrelationQueryBehavior
)))