PreallocatedWorkItem.RunAsync 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.
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.