|
SingleOccurrenceActionTryBlockAction(Action) Method
|
Attempts to block this class from being signaled.
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntaxpublic bool TryBlockAction(
Action executeIfSuccessful
)
Public Function TryBlockAction (
executeIfSuccessful As Action
) As Boolean
public:
bool TryBlockAction(
Action^ executeIfSuccessful
)
member TryBlockAction :
executeIfSuccessful : Action -> bool function TryBlockAction(executeIfSuccessful);
View SourceParameters
- executeIfSuccessful Action
- A callback to execute if the block was successful
Return Value
Boolean
True if the method was executed, false otherwise.
See Also