IdeaBlade.EntityModel.Compat Assembly > IdeaBlade.EntityModel Namespace > InvokeServerMethodOperation Class : InvokeServerMethodOperation Constructor |
'Declaration
Public Function New( _ ByVal typeName As String, _ ByVal methodName As String, _ ByVal userState As Object, _ ByVal callback As Action(Of InvokeServerMethodOperation), _ ByVal taskFunc As Func(Of CancellationToken,Task(Of Object)), _ ByVal ParamArray args() As Object _ )
'Usage
Dim typeName As String Dim methodName As String Dim userState As Object Dim callback As Action(Of InvokeServerMethodOperation) Dim taskFunc As Func(Of CancellationToken,Task(Of Object)) Dim args() As Object Dim instance As New InvokeServerMethodOperation(typeName, methodName, userState, callback, taskFunc, args)
public InvokeServerMethodOperation( string typeName, string methodName, object userState, Action<InvokeServerMethodOperation> callback, Func<CancellationToken,Task<object>> taskFunc, params object[] args )
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