Progress(T) Constructor (Action(T))

Fortran DLL Wrapper

ProgressT Constructor (ActionT)

Initializes the ProgressT with the specified callback.

Namespace:  FortranWrapper
Assembly:  FortranWrapper (in FortranWrapper.dll) Version: 1.0.1.0 (1.0.1.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. Depending on the SynchronizationContext instance captured by the ProgressT at construction, it's possible that this handler instance could be invoked concurrently with itself.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe handler is null (Nothing in Visual Basic).
See Also