BackgroundDispatcher.QueueUserWorkItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
QueueUserWorkItem(WaitCallback) |
Implements QueueUserWorkItem(WaitCallback). |
QueueUserWorkItem(WaitCallback, Object) |
Implements QueueUserWorkItem(WaitCallback, Object). |
QueueUserWorkItem(WaitCallback)
Implements QueueUserWorkItem(WaitCallback).
public:
virtual bool QueueUserWorkItem(System::Threading::WaitCallback ^ callback);
public bool QueueUserWorkItem (System.Threading.WaitCallback callback);
abstract member QueueUserWorkItem : System.Threading.WaitCallback -> bool
override this.QueueUserWorkItem : System.Threading.WaitCallback -> bool
Public Function QueueUserWorkItem (callback As WaitCallback) As Boolean
Parameters
- callback
- WaitCallback
Returns
Implements
Applies to
QueueUserWorkItem(WaitCallback, Object)
Implements QueueUserWorkItem(WaitCallback, Object).
public:
virtual bool QueueUserWorkItem(System::Threading::WaitCallback ^ callback, System::Object ^ state);
public bool QueueUserWorkItem (System.Threading.WaitCallback callback, object state);
abstract member QueueUserWorkItem : System.Threading.WaitCallback * obj -> bool
override this.QueueUserWorkItem : System.Threading.WaitCallback * obj -> bool
Public Function QueueUserWorkItem (callback As WaitCallback, state As Object) As Boolean
Parameters
- callback
- WaitCallback
- state
- Object