|
SingleOccurrenceActionBlockActionT(FuncT, FuncT) Method
|
Attempts to block this class from being signaled.
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic T BlockAction<T>(
Func<T> executeIfSuccessful,
Func<T> executeIfFailed
)
Public Function BlockAction(Of T) (
executeIfSuccessful As Func(Of T),
executeIfFailed As Func(Of T)
) As T
public:
generic<typename T>
T BlockAction(
Func<T>^ executeIfSuccessful,
Func<T>^ executeIfFailed
)
member BlockAction :
executeIfSuccessful : Func<'T> *
executeIfFailed : Func<'T> -> 'T
JavaScript does not support generic types or methods.
View SourceParameters
- executeIfSuccessful FuncT
- A callback to execute if the block was successful
- executeIfFailed FuncT
- A callback to execute if the block was unsuccessful
Type Parameters
- T
Return Value
T
See Also