Pages

Men

rh

7/06/2012

How the concurrency mode is specified in WCF service?


 
How the concurrency mode is specified in WCF service? The concurrency mode is specified using the ServiceBehavior attribute on the class that implements the service.
Ex. [ServiceBehavior(ConcurrencyMode=ConcurrencyMode.Single)] Public class ServiceClass : IServiceInterface{ //Implementation Code } There are 3 possible values of ConcurrencyMode enumeration Single Reentrant Multiple

No comments :

Post a Comment