12 instantiations of ServiceBehaviorAttribute
SMSvcHost (1)
System\ServiceModel\Activation\WorkerProcess.cs (1)
19
[
ServiceBehavior
(InstanceContextMode = InstanceContextMode.PerSession)]
System.Data.Services (1)
System\Data\Services\DataService.cs (1)
47
[
ServiceBehavior
(InstanceContextMode = InstanceContextMode.PerCall)]
System.ServiceModel (5)
System\ServiceModel\Channels\PeerService.cs (1)
36
[
ServiceBehavior
(
System\ServiceModel\ComIntegration\ComPlusServiceLoader.cs (1)
86
serviceBehavior = new
ServiceBehaviorAttribute
();
System\ServiceModel\Description\ServiceDescription.cs (1)
193
attr = new
ServiceBehaviorAttribute
();
System\ServiceModel\PeerResolvers\CustomPeerResolverService.cs (1)
15
[
ServiceBehavior
(UseSynchronizationContext = false, InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
System\ServiceModel\Security\WSTrustServiceContract.cs (1)
43
[
ServiceBehavior
(Name = WSTrustServiceContractConstants.ServiceBehaviorName, Namespace = WSTrustServiceContractConstants.Namespace, InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\AnnouncementService.cs (1)
14
[
ServiceBehavior
(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\RoutingService.cs (1)
33
[
ServiceBehavior
(AddressFilterMode = AddressFilterMode.Any, InstanceContextMode = InstanceContextMode.PerSession,
System.Web.Extensions (3)
ApplicationServices\AuthenticationService.cs (1)
26
ServiceBehavior
(Namespace="http://asp.net/ApplicationServices/v200", InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)
ApplicationServices\ProfileService.cs (1)
23
[
ServiceBehavior
(Namespace="http://asp.net/ApplicationServices/v200", InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
ApplicationServices\RoleService.cs (1)
27
ServiceBehavior
(Namespace="http://asp.net/ApplicationServices/v200", InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)
41 references to ServiceBehaviorAttribute
System.ServiceModel (35)
System\ServiceModel\Administration\ServiceInstanceProvider.cs (3)
254
else if (behavior is
ServiceBehaviorAttribute
)
257
ServiceBehaviorAttribute
serviceBehavior = (
ServiceBehaviorAttribute
)behavior;
System\ServiceModel\Channels\ServiceChannel.cs (1)
590
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxCallbackRequestReplyInOrder1, typeof(
ServiceBehaviorAttribute
).Name)));
System\ServiceModel\ComIntegration\ComPlusServiceLoader.cs (7)
54
ServiceBehaviorAttribute
serviceBehavior = EnsureBehaviorAttribute(service);
77
ServiceBehaviorAttribute
EnsureBehaviorAttribute(ServiceDescription service)
79
ServiceBehaviorAttribute
serviceBehavior;
80
if (service.Behaviors.Contains(typeof(
ServiceBehaviorAttribute
)))
82
serviceBehavior = (
ServiceBehaviorAttribute
)service.Behaviors[typeof(
ServiceBehaviorAttribute
)];
94
ServiceBehaviorAttribute
serviceBehavior = EnsureBehaviorAttribute(service);
System\ServiceModel\Description\DispatcherBuilder.cs (2)
635
ServiceBehaviorAttribute
instanceSettings = description.Behaviors.Find<
ServiceBehaviorAttribute
>();
System\ServiceModel\Description\ServiceDescription.cs (5)
125
ServiceBehaviorAttribute
serviceBehavior = EnsureBehaviorAttribute(serviceDescription);
187
static
ServiceBehaviorAttribute
EnsureBehaviorAttribute(ServiceDescription description)
189
ServiceBehaviorAttribute
attr = description.Behaviors.Find<
ServiceBehaviorAttribute
>();
266
ServiceBehaviorAttribute
serviceBehavior = EnsureBehaviorAttribute(serviceDescription);
System\ServiceModel\Description\ServiceMetadataExtension.cs (2)
457
ServiceBehaviorAttribute
sba = owner.Description.Behaviors.Find<
ServiceBehaviorAttribute
>();
System\ServiceModel\Description\TypeLoader.cs (1)
1984
if (behavior is
ServiceBehaviorAttribute
|| behavior is CallbackBehaviorAttribute)
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
46
IsolationLevel transactionIsolationLevel =
ServiceBehaviorAttribute
.DefaultIsolationLevel;
System\ServiceModel\Dispatcher\TransactionBehavior.cs (1)
23
IsolationLevel isolation =
ServiceBehaviorAttribute
.DefaultIsolationLevel;
System\ServiceModel\Dispatcher\TransactionValidationBehavior.cs (10)
161
ServiceBehaviorAttribute
serviceBehavior = service.Behaviors.Find<
ServiceBehaviorAttribute
>();
200
ServiceBehaviorAttribute
serviceBehavior = service.Behaviors.Find<
ServiceBehaviorAttribute
>();
222
ServiceBehaviorAttribute
attribute = service.Behaviors.Find<
ServiceBehaviorAttribute
>();
312
ServiceBehaviorAttribute
attribute = service.Behaviors.Find<
ServiceBehaviorAttribute
>();
372
ServiceBehaviorAttribute
attribute = service.Behaviors.Find<
ServiceBehaviorAttribute
>();
System\ServiceModel\ServiceHost.cs (2)
1962
ServiceBehaviorAttribute
serviceBehavior = description.Behaviors.Find<
ServiceBehaviorAttribute
>();
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (2)
217
ServiceBehaviorAttribute
serviceBehaviorAttribute = workflowServiceHost.Description.Behaviors.Find<
ServiceBehaviorAttribute
>();
System.WorkflowServices (4)
System\ServiceModel\Description\DurableServiceAttribute.cs (4)
128
ServiceBehaviorAttribute
serviceBehavior = serviceDescription.Behaviors.Find<
ServiceBehaviorAttribute
>();
230
ServiceBehaviorAttribute
serviceBehavior = serviceDescription.Behaviors.Find<
ServiceBehaviorAttribute
>();