IdeaBlade.EntityModel.Compat Assembly > IdeaBlade.EntityModel Namespace > BasicOperation Class : BasicOperation Constructor |
'Declaration
Public Function New( _ ByVal callback As Action(Of BasicOperation), _ ByVal userState As Object, _ ByVal taskFunc As Func(Of CancellationToken,Task) _ )
'Usage
Dim callback As Action(Of BasicOperation) Dim userState As Object Dim taskFunc As Func(Of CancellationToken,Task) Dim instance As New BasicOperation(callback, userState, taskFunc)
public BasicOperation( Action<BasicOperation> callback, object userState, Func<CancellationToken,Task> taskFunc )
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