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