WeakEventHandlerTTryInvoke Method
Tries to invoke the event handler associated with this weak reference object.
Namespace: SnapDB.ThreadingAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool TryInvoke(
Object sender,
T e
)
Public Function TryInvoke (
sender As Object,
e As T
) As Boolean
public:
bool TryInvoke(
Object^ sender,
T e
)
function TryInvoke(sender, e);
- sender Object
- The event sender.
- e T
- The event arguments.
Booleantrue if successful,
false if the event handler has been garbage collected.