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