API Reference
Class
BackgroundOperation`1
Runs synchronous work on a dedicated background thread so callers can observe completion without blocking on task wrappers.
Inheritance
- Object
- BackgroundOperation`1
Methods
GetResult() #Returns the worker result or rethrows the captured exception.
Start(System.Func{`0} work, System.String name) #Starts a background operation immediately.
Parameters
- work System.Func{`0}
- name System.String
TryGetResult(System.TimeSpan timeout, `0@ result) #Waits for completion and returns the result when available.
Parameters
- timeout System.TimeSpan
- result `0@
Wait(System.TimeSpan timeout) #Waits for completion within the supplied timeout.
Parameters
- timeout System.TimeSpan