This documentation is archived and is not being maintained.
ReleaseInstanceMode Enumeration
Visual Studio 2010
Specifies when the system recycles the service object in the operation invocation process.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Member name | Description | |
|---|---|---|
| None | Recycles the object according to the InstanceContextMode value. | |
| BeforeCall | Recycles the object prior to calling the operation. | |
| AfterCall | Recycles the object subsequent to the completion of the operation. | |
| BeforeAndAfterCall | Recycles the object prior to calling the operation and subsequent to the completion of the operation. |
Use the ReleaseInstanceMode with the ReleaseInstanceMode property to inform that the current service object must be recycled at a particular point in the invocation process. The default behavior is to recycle a service object according to the InstanceContextMode value.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: