Pool of WCF Client Channels
| C# | Visual Basic | Visual C++ |
public class ChannelPool<T> : IDisposable where T : class
Public Class ChannelPool(Of T As Class) _ Implements IDisposable
generic<typename T> where T : ref class public ref class ChannelPool : IDisposable
- T
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| ChannelPool<(Of <(T>)>)(String) |
Creates pool based on client configuration in app.config
| |
| ChannelPool<(Of <(T>)>)(ChannelFactory<(Of <(T>)>)) |
Creates Pool using client service factory
| |
| Acquire()()() |
Returns channel from pool. If one does not exist, one is created.
| |
| ChannelFactory |
Channel factory the pool is using for creating clients
| |
| Dispose()()() |
Releases any channel resources in pool
| |
| Dispose(Boolean) |
Releases any channel resources in pool
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Release(T) |
Places channel back into pool
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| ChannelPool<(Of <(T>)>) | |