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