37 implementations of IServiceBehavior
System.ServiceModel (21)
System\ServiceModel\Activation\AspNetCompatibilityRequirementsAttribute.cs (1)
14
public sealed class AspNetCompatibilityRequirementsAttribute : Attribute,
IServiceBehavior
System\ServiceModel\Channels\PeerSecurityManager.cs (1)
650
class PeerSecurityCredentialsManager : SecurityCredentialsManager, IEndpointBehavior,
IServiceBehavior
System\ServiceModel\Channels\PeerService.cs (1)
40
class PeerService : IPeerService,
IServiceBehavior
, IChannelInitializer
System\ServiceModel\ComIntegration\SecurityCookieModeValidator.cs (1)
16
class SecurityCookieModeValidator :
IServiceBehavior
System\ServiceModel\Description\ServiceAuthenticationBehavior.cs (1)
16
public sealed class ServiceAuthenticationBehavior :
IServiceBehavior
System\ServiceModel\Description\ServiceAuthorizationBehavior.cs (1)
17
public sealed class ServiceAuthorizationBehavior :
IServiceBehavior
System\ServiceModel\Description\ServiceCredentials.cs (1)
19
public class ServiceCredentials : SecurityCredentialsManager,
IServiceBehavior
System\ServiceModel\Description\ServiceDebugBehavior.cs (1)
17
public class ServiceDebugBehavior :
IServiceBehavior
System\ServiceModel\Description\ServiceMetadataBehavior.cs (1)
19
public class ServiceMetadataBehavior :
IServiceBehavior
System\ServiceModel\Description\ServiceSecurityAuditBehavior.cs (1)
12
public sealed class ServiceSecurityAuditBehavior :
IServiceBehavior
System\ServiceModel\Description\ServiceThrottlingBehavior.cs (1)
14
public class ServiceThrottlingBehavior :
IServiceBehavior
System\ServiceModel\Description\ServiceTimeoutsBehavior.cs (1)
14
internal class ServiceTimeoutsBehavior :
IServiceBehavior
System\ServiceModel\Description\UseRequestHeadersForMetadataAddressBehavior.cs (1)
14
public class UseRequestHeadersForMetadataAddressBehavior :
IServiceBehavior
System\ServiceModel\Dispatcher\DataContractSerializerServiceBehavior.cs (1)
13
internal class DataContractSerializerServiceBehavior :
IServiceBehavior
, IEndpointBehavior
System\ServiceModel\Dispatcher\PartialTrustValidationBehavior.cs (1)
17
class PartialTrustValidationBehavior :
IServiceBehavior
, IEndpointBehavior
System\ServiceModel\Dispatcher\PeerValidationBehavior.cs (1)
13
class PeerValidationBehavior : IEndpointBehavior,
IServiceBehavior
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (1)
19
class SecurityValidationBehavior : IEndpointBehavior,
IServiceBehavior
System\ServiceModel\Dispatcher\TransactionValidationBehavior.cs (1)
14
class TransactionValidationBehavior : IEndpointBehavior,
IServiceBehavior
System\ServiceModel\Dispatcher\UniqueContractNameValidationBehavior.cs (1)
13
class UniqueContractNameValidationBehavior :
IServiceBehavior
System\ServiceModel\MsmqIntegration\MsmqIntegrationValidationBehavior.cs (1)
13
class MsmqIntegrationValidationBehavior : IEndpointBehavior,
IServiceBehavior
System\ServiceModel\ServiceBehaviorAttribute.cs (1)
22
public sealed class ServiceBehaviorAttribute : Attribute,
IServiceBehavior
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\ApplyHostConfigurationBehavior.cs (1)
14
class ApplyHostConfigurationBehavior :
IServiceBehavior
System\ServiceModel\Activation\HostedBindingBehavior.cs (1)
12
class HostedBindingBehavior :
IServiceBehavior
System.ServiceModel.Activities (8)
System\ServiceModel\Activities\Description\BufferedReceiveServiceBehavior.cs (1)
15
public sealed class BufferedReceiveServiceBehavior :
IServiceBehavior
System\ServiceModel\Activities\Description\EtwTrackingBehavior.cs (1)
17
public class EtwTrackingBehavior :
IServiceBehavior
System\ServiceModel\Activities\Description\SendMessageChannelCacheBehavior.cs (1)
11
class SendMessageChannelCacheBehavior :
IServiceBehavior
System\ServiceModel\Activities\Description\SqlWorkflowInstanceStoreBehavior.cs (1)
18
public class SqlWorkflowInstanceStoreBehavior :
IServiceBehavior
System\ServiceModel\Activities\Description\WorkflowIdleBehavior.cs (1)
14
public class WorkflowIdleBehavior :
IServiceBehavior
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (1)
17
public sealed class WorkflowInstanceManagementBehavior :
IServiceBehavior
System\ServiceModel\Activities\Description\WorkflowServiceBehavior.cs (1)
13
class WorkflowServiceBehavior :
IServiceBehavior
System\ServiceModel\Activities\Description\WorkflowUnhandledExceptionBehavior.cs (1)
13
public class WorkflowUnhandledExceptionBehavior :
IServiceBehavior
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\ServiceDiscoveryBehavior.cs (1)
16
public class ServiceDiscoveryBehavior :
IServiceBehavior
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\RoutingBehavior.cs (1)
18
public sealed class RoutingBehavior :
IServiceBehavior
System.WorkflowServices (4)
System\ServiceModel\Description\DurableServiceAttribute.cs (1)
16
public sealed class DurableServiceAttribute : Attribute,
IServiceBehavior
, IContextSessionProvider, IWmiInstanceProvider
System\ServiceModel\Description\PersistenceProviderBehavior.cs (1)
12
public class PersistenceProviderBehavior :
IServiceBehavior
, IWmiInstanceProvider
System\ServiceModel\Description\WorkflowRuntimeBehavior.cs (1)
14
public class WorkflowRuntimeBehavior :
IServiceBehavior
, IWmiInstanceProvider
System\ServiceModel\Description\WorkflowServiceBehavior.cs (1)
17
class WorkflowServiceBehavior :
IServiceBehavior
, IContextSessionProvider, IWmiInstanceProvider
112 references to IServiceBehavior
System.ServiceModel (98)
System\ServiceModel\Activation\AspNetCompatibilityRequirementsAttribute.cs (3)
40
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
44
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
54
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
System\ServiceModel\Activation\AspNetEnvironment.cs (1)
245
internal virtual void AddMetadataBindingParameters(Uri listenUri, KeyedByTypeCollection<
IServiceBehavior
> serviceBehaviors, BindingParameterCollection bindingParameters)
System\ServiceModel\Administration\ServiceInfo.cs (2)
18
KeyedByTypeCollection<
IServiceBehavior
> behaviors;
87
public KeyedByTypeCollection<
IServiceBehavior
> Behaviors
System\ServiceModel\Administration\ServiceInstanceProvider.cs (2)
86
foreach (
IServiceBehavior
behavior in info.Behaviors)
149
void FillBehaviorInfo(
IServiceBehavior
behavior, IWmiInstance existingInstance, out IWmiInstance instance)
System\ServiceModel\Channels\ContextBindingElement.cs (1)
296
internal static void ValidateContextBindingElementOnAllEndpointsWithSessionfulContract(ServiceDescription description,
IServiceBehavior
callingBehavior)
System\ServiceModel\Channels\PeerSecurityManager.cs (3)
784
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
788
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
797
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
System\ServiceModel\Channels\PeerService.cs (3)
220
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHost)
224
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHost, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
228
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHost)
System\ServiceModel\ComIntegration\SecurityCookieModeValidator.cs (3)
35
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
39
void
IServiceBehavior
.Validate(ServiceDescription service, ServiceHostBase serviceHostBase)
43
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription service, ServiceHostBase serviceHostBase)
System\ServiceModel\Configuration\CommonServiceBehaviorElement.cs (4)
24
if (!typeof(System.ServiceModel.Description.
IServiceBehavior
).IsAssignableFrom(element.BehaviorType))
29
typeof(System.ServiceModel.Description.
IServiceBehavior
).FullName),
45
if (!typeof(System.ServiceModel.Description.
IServiceBehavior
).IsAssignableFrom(element.BehaviorType))
50
typeof(System.ServiceModel.Description.
IServiceBehavior
).FullName),
System\ServiceModel\Configuration\ServiceBehaviorElement.cs (2)
38
if (!typeof(System.ServiceModel.Description.
IServiceBehavior
).IsAssignableFrom(element.BehaviorType))
63
if (!typeof(System.ServiceModel.Description.
IServiceBehavior
).IsAssignableFrom(element.BehaviorType))
System\ServiceModel\Description\ConfigLoader.cs (2)
443
LoadBehaviors<
IServiceBehavior
>(commonBehaviors.ServiceBehaviors, description.Behaviors, true/*commonBehaviors*/);
458
LoadBehaviors<
IServiceBehavior
>(behaviorElement, description.Behaviors, false/*commonBehaviors*/);
System\ServiceModel\Description\DispatcherBuilder.cs (10)
190
(PartialTrustValidationBehavior.Instance as
IServiceBehavior
).Validate(description, serviceHost);
192
(PeerValidationBehavior.Instance as
IServiceBehavior
).Validate(description, serviceHost);
194
(TransactionValidationBehavior.Instance as
IServiceBehavior
).Validate(description, serviceHost);
195
(System.ServiceModel.MsmqIntegration.MsmqIntegrationValidationBehavior.Instance as
IServiceBehavior
).Validate(description, serviceHost);
196
(SecurityValidationBehavior.Instance as
IServiceBehavior
).Validate(description, serviceHost);
197
(new UniqueContractNameValidationBehavior() as
IServiceBehavior
).Validate(description, serviceHost);
200
IServiceBehavior
iServiceBehavior = description.Behaviors[i];
605
foreach (
IServiceBehavior
behavior in serviceHost.Description.Behaviors)
698
foreach (
IServiceBehavior
behavior in description.Behaviors)
825
IServiceBehavior
serviceBehavior = description.Behaviors[i];
System\ServiceModel\Description\ServiceAuthenticationBehavior.cs (3)
79
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
83
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
120
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
System\ServiceModel\Description\ServiceAuthorizationBehavior.cs (3)
181
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
185
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
189
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
System\ServiceModel\Description\ServiceCredentials.cs (3)
210
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
285
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
300
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
System\ServiceModel\Description\ServiceDebugBehavior.cs (3)
141
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
145
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
159
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
System\ServiceModel\Description\ServiceDescription.cs (10)
21
KeyedByTypeCollection<
IServiceBehavior
> behaviors = new KeyedByTypeCollection<
IServiceBehavior
>();
89
public KeyedByTypeCollection<
IServiceBehavior
> Behaviors
122
System.ServiceModel.Description.TypeLoader.ApplyServiceInheritance<
IServiceBehavior
, KeyedByTypeCollection<
IServiceBehavior
>>(
215
static void GetIServiceBehaviorAttributes(Type currentServiceType, KeyedByTypeCollection<
IServiceBehavior
> behaviors)
217
foreach (
IServiceBehavior
behaviorAttribute in ServiceReflector.GetCustomAttributes(currentServiceType, typeof(
IServiceBehavior
)))
254
if (serviceImplementation is
IServiceBehavior
)
256
description.Behaviors.Add((
IServiceBehavior
)serviceImplementation);
System\ServiceModel\Description\ServiceMetadataBehavior.cs (3)
178
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
182
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
186
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
System\ServiceModel\Description\ServiceSecurityAuditBehavior.cs (3)
102
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
106
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
114
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
System\ServiceModel\Description\ServiceThrottlingBehavior.cs (3)
82
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
86
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
90
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
System\ServiceModel\Description\ServiceTimeoutsBehavior.cs (3)
38
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
42
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
46
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
System\ServiceModel\Description\UseRequestHeadersForMetadataAddressBehavior.cs (3)
34
void
IServiceBehavior
.Validate(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase)
38
void
IServiceBehavior
.AddBindingParameters(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection bindingParameters)
42
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase)
System\ServiceModel\Dispatcher\DataContractSerializerServiceBehavior.cs (3)
36
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
40
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
44
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
System\ServiceModel\Dispatcher\PeerValidationBehavior.cs (3)
66
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
70
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
74
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (4)
134
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
138
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
142
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
786
static public void Validate(SecurityBindingElement sbe, Binding binding, ContractDescription contract, KeyedByTypeCollection<
IServiceBehavior
> behaviors)
System\ServiceModel\Dispatcher\TransactionValidationBehavior.cs (3)
113
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
117
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription service, ServiceHostBase serviceHostBase)
121
void
IServiceBehavior
.Validate(ServiceDescription service, ServiceHostBase serviceHostBase)
System\ServiceModel\MsmqIntegration\MsmqIntegrationValidationBehavior.cs (3)
54
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
58
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
62
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
System\ServiceModel\ServiceBehaviorAttribute.cs (3)
348
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
356
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
360
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
System\ServiceModel\ServiceHost.cs (6)
1642
public void AddBehaviorContractsToResolver(KeyedByTypeCollection<
IServiceBehavior
> behaviors)
1970
if ((typeof(
IServiceBehavior
).IsAssignableFrom(this.serviceType) || typeof(IContractBehavior).IsAssignableFrom(this.serviceType))
1979
if (serviceInstanceUsedAsABehavior is
IServiceBehavior
)
1981
description.Behaviors.Add((
IServiceBehavior
)serviceInstanceUsedAsABehavior);
2086
KeyedByTypeCollection<
IServiceBehavior
> behaviors;
2087
public ReflectedAndBehaviorContractCollection(ReflectedContractCollection reflectedContracts, KeyedByTypeCollection<
IServiceBehavior
> behaviors)
System.ServiceModel.Activation (7)
System\ServiceModel\Activation\ApplyHostConfigurationBehavior.cs (3)
20
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase service)
28
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase service, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
32
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase service)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (1)
426
internal override void AddMetadataBindingParameters(Uri listenUri, KeyedByTypeCollection<
IServiceBehavior
> serviceBehaviors, BindingParameterCollection bindingParameters)
System\ServiceModel\Activation\HostedBindingBehavior.cs (3)
26
void
IServiceBehavior
.Validate(ServiceDescription description, ServiceHostBase serviceHostBase)
30
void
IServiceBehavior
.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection parameters)
40
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase)
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (1)
259
foreach (
IServiceBehavior
behavior in Host.Description.Behaviors)
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\ServiceDiscoveryBehavior.cs (3)
34
void
IServiceBehavior
.AddBindingParameters(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints,
40
void
IServiceBehavior
.Validate(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase)
81
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase)
System.ServiceModel.Routing (3)
System\ServiceModel\Routing\RoutingBehavior.cs (3)
32
void
IServiceBehavior
.AddBindingParameters(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection bindingParameters)
36
void
IServiceBehavior
.ApplyDispatchBehavior(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase)
61
void
IServiceBehavior
.Validate(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase)