Invokes a user-supplied evalMethod in a parallel distributed fashion for each object in the sequence source.
Assembly: soss_namedcache (in soss_namedcache.dll) Version: 22.214.171.124
public static void Invoke<T, P>( this IQueryable<T> source, TimeSpan timeout, P param, Action<T, P> evalMethod )
<ExtensionAttribute> Public Shared Sub Invoke(Of T, P) ( source As IQueryable(Of T), timeout As TimeSpan, param As P, evalMethod As Action(Of T, P) )
- Type: System.LinqIQueryable
The sequence of objects to be passed to evalMethod on the distributed servers. The source should be initially created by QueryKeysT or QueryObjectsT.
- Type: SystemTimeSpan
The length of time allowed for the invoke operation. If the operation takes longer than timeout it will be cancelled.
A user-specified parameter object sent to each evalMethod when it is invoked.
- Type: SystemAction,
A method to be run on each element of source. The evalMethod used with this signature does not have a return value; no follow-on Merge method is required.
- The Type of the "target" objects that will be passed to the evalMethod.
- The Type of a fixed parameter object that will also be passed to evalMethod at each invocation.
Usage NoteIn Visual Basic and C#, you can call this method as an instance method on any object of type IQueryable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).