Specifies the number of service instances available for handling calls that are contained in incoming messages.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
A new InstanceContext object is created prior to and recycled subsequent to each call. If the channel does not create a session this value behaves as if it were .
A new InstanceContext object is created for each session.
Only one InstanceContext object is used for all incoming calls and is not recycled subsequent to the calls. If a service object does not exist, one is created.
The System.ServiceModel.InstanceContext manages the association between the channel and the user-defined service objects. Use the enumeration with the ServiceBehaviorAttribute.InstanceContextMode property to specify the lifetime of the InstanceContext object. Windows Communication Foundation (WCF) can create a new InstanceContext object for every call, every session or specify that the InstanceContext object is bound to a single service object. For a working example, see the Instancing.
The InstanceContext object should be used for the lifetime of the service.value specifies that a single
Available since 3.0