Dela via


PreallocatedWorkItem.RunAsync Method

Definition

Submits the preallocated work item to the thread pool, without requiring any additional resources to be allocated.

public:
 virtual IAsyncAction ^ RunAsync() = RunAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction RunAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction RunAsync();
function runAsync()
Public Function RunAsync () As IAsyncAction

Returns

Provides access to the running IAsyncAction that was previously constructed and given the necessary resource allocation.

Attributes

Remarks

For information about how IAsyncAction applies to work items, see Windows.System.Threading.RunAsync.

Applies to

See also