SafeProxy Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 SafeProxy Class
Patterns-In-Action! ApplicationWCFProxySafeProxy
Declaration Syntax
C# Visual Basic
public class SafeProxy
Public Class SafeProxy
Members
All Members Constructors Methods



Icon Member Description
SafeProxy()()()
Initializes a new instance of the SafeProxy class

DoAction<(Of <(T>)>)(T, Action<(Of <(T>)>))
Perform action without closing it. This is for long running client proxies.

DoActionAndClose<(Of <(T>)>)(T, Action<(Of <(T>)>))
Used in environments where WCF proxies are created and closed all the time. In case something goes wrong it aborts (immediately closes) the communications.

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.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
SafeProxy

Assembly: WCFProxy (Module: WCFProxy) Version: 1.0.0.0 (1.0.0.0)