Export (0) Print
Expand All

Progress(Of T) Constructor (Action(Of T))

.NET Framework 4.6 and 4.5

Initializes the Progress(Of T) object with the specified callback.

Namespace:  System
Assemblies:   System.Runtime.Extensions (in System.Runtime.Extensions.dll)
  mscorlib (in mscorlib.dll)

'Declaration
Public Sub New ( _
	handler As Action(Of T) _
)

Parameters

handler
Type: System.Action(Of T)

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 Progress(Of T) at construction, it is possible that this handler instance could be invoked concurrently with itself.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft