IdeaBlade DevForce 2010 Help Reference
UsingBlock Constructor
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > UsingBlock Class : UsingBlock Constructor



preAction
postAction
Create a new instance with the specified actions.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal preAction As Action, _
   ByVal postAction As Action _
)
Visual Basic (Usage)Copy Code
Dim preAction As Action
Dim postAction As Action
 
Dim instance As New UsingBlock(preAction, postAction)
C# 
public UsingBlock( 
   Action preAction,
   Action postAction
)
C++/CLI 
public:
UsingBlock( 
   Action^ preAction,
   Action^ postAction
)

Parameters

preAction
postAction

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.