ThreadPoolThrottle.QueueUserWorkItemWithWait Method
Namespace: Microsoft.TeamFoundation.Framework.Server.Alm
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueueUserWorkItemWithWait ( _
callBack As WaitCallback, _
state As Object _
) As Boolean
public bool QueueUserWorkItemWithWait(
WaitCallback callBack,
Object state
)
public:
bool QueueUserWorkItemWithWait(
WaitCallback^ callBack,
Object^ state
)
member QueueUserWorkItemWithWait :
callBack:WaitCallback *
state:Object -> bool
public function QueueUserWorkItemWithWait(
callBack : WaitCallback,
state : Object
) : boolean
Parameters
- callBack
Type: System.Threading.WaitCallback
- state
Type: System.Object
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.