|
SingleOccurrenceActionTryBlockAction(Action) 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 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