Design Pattern Framework 3.5
DoAction<(Of <(T>)>) Method (client, action)
Patterns-In-Action! Application ► WCFProxy ► SafeProxy ► DoAction<(Of <(T>)>)(T, Action<(Of <(T>)>))
Perform action without closing it. This is for long running client proxies.
Declaration Syntax
C# | Visual Basic |
public static void DoAction<T>( T client, Action<T> action ) where T : ICommunicationObject
Public Shared Sub DoAction(Of T As ICommunicationObject) ( _ client As T, _ action As Action(Of T) _ )
Generic Template Parameters
- T
- Type parameter.
Parameters
- client (T)
- The client.
- action (Action<(Of <(T>)>))
- The typed action.