Creates a continuation that executes when the target operation completes.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim operation As T
Dim continuationAction As Action(Of T)
Dim value As T
value = OperationFns.ContinueWith(Of T)(operation, continuationAction) |
Parameters
- operation
- The target operation.
- continuationAction
- An action to run when the operation completes. When run, the delegate will be passed the completed operation as an argument. If the operation completed with an error, the error will be marked as handled.
Type Parameters
- T
- The type of the target operation.
Return Value
The target operation.
Exceptions
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also