Pure Mpi.NET Library
ChannelPool<(Of <(T>)>) Class
NamespacesMpiChannelPool<(Of <(T>)>)
Pool of WCF Client Channels
Declaration Syntax
C#Visual BasicVisual 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
Generic Template Parameters
T
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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)
Determines whether the specified Object is equal to the current 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()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
ChannelPool<(Of <(T>)>)

Assembly: Mpi (Module: Mpi) Version: 1.0.0.3 (1.0.0.3)