GigaSpaces XAP.NET Documentation
QueueUserWorkItem Method (callback)
Class LibraryGigaSpaces.Core.ThreadingThreadManagerQueueUserWorkItem(WaitCallback)
Queues a method for execution. The method executes when a thread pool thread becomes available.
Declaration Syntax
C#Visual BasicVisual C++J#
public static bool QueueUserWorkItem(
	WaitCallback callback
Public Shared Function QueueUserWorkItem ( _
	callback As WaitCallback _
) As Boolean
static bool QueueUserWorkItem(
	WaitCallback^ callback
public static boolean QueueUserWorkItem(
	WaitCallback callback
callback (WaitCallback)
A System.Threading.WaitCallback that represents the method to be executed.
Return Value
true if the method is successfully queued; System.OutOfMemoryException is thrown if the work item could not be queued.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: (