Share via


BackgroundDispatcher.QueueUserWorkItem Method

Definition

Overloads

QueueUserWorkItem(WaitCallback)

Implements QueueUserWorkItem(WaitCallback).

QueueUserWorkItem(WaitCallback, Object)

Implements QueueUserWorkItem(WaitCallback, Object).

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)

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

Returns

Implements

Applies to