|
SingleOccurrenceActionTryBlockAction(Action) Method
|
Attempts to block this class from being signaled.
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
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