ProgressT Constructor (ActionT) |
Initializes a new instance of the
ProgressT class with the specified callback.
Namespace: Rackspace.ThreadingAssembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
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
Threading Library
Supported in: 2.1, 2.0, 1.1, 1.0
See Also