DevForce Help Reference
UsingBlock Constructor


Create a new instance with the specified actions.
Syntax
'Declaration
 
Public Function New( _
   ByVal preAction As Action, _
   ByVal postAction As Action _
)
'Usage
 
Dim preAction As Action
Dim postAction As Action
 
Dim instance As New UsingBlock(preAction, postAction)
public UsingBlock( 
   Action preAction,
   Action postAction
)

Parameters

preAction
postAction
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UsingBlock Class
UsingBlock Members

Send Feedback