ProgressT Constructor (ActionT) |
Initializes the
ProgressT object with the specified callback.
Namespace: Rackspace.ThreadingAssembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 1.1.0.0
Syntax
public Progress(
Action<T> handler
)
Public Sub New (
handler As Action(Of T)
)
public:
Progress(
Action<T>^ handler
)
new :
handler : Action<'T> -> Progress
Parameters
- handler
- Type: SystemActionT
A handler to invoke for each reported progress value. This handler will be invoked in addition
to any delegates registered with the ProgressChanged event. Depending on the
SynchronizationContext instance captured by the ProgressT at
construction, it is possible that this handler instance could be invoked concurrently with
itself.
Version Information
.NET for Windows Store apps
Supported in: Windows 8
.NET Framework
Supported in: 4.5, 4.0, 3.5
Portable Class Library
Supported in: Portable Class Library (Legacy), Portable Class Library
Rackspace Threading Library
Supported in: 1.1, 1.0
See Also