public class WeakEventHandler<T> : WeakDelegateBase<EventHandler<T>>
where T : EventArgs
Public Class WeakEventHandler(Of T As EventArgs)
Inherits WeakDelegateBase(Of EventHandler(Of T))generic<typename T>
where T : EventArgs
public ref class WeakEventHandler : public WeakDelegateBase<EventHandler<T>^>| WeakEventHandlerT | Initializes a new instance of the WeakEventHandlerT class with the specified event handler target. |
| IsAlive | Gets an indication whether the object referenced by the current WeakReference object has been garbage collected. (Inherited from WeakReference) |
| Target | Gets or sets the object (the target) referenced by the current WeakReference object. (Inherited from WeakReference) |
| TrackResurrection | Gets an indication whether the object referenced by the current WeakReference object is tracked after it is finalized. (Inherited from WeakReference) |
| Equals(Object) |
Determines whether the current WeakDelegateBaseT instance is equal to another object.
(Inherited from WeakDelegateBaseT) |
| Equals(WeakDelegateBaseT) |
Determines whether the current WeakDelegateBaseT instance is equal to another WeakDelegateBaseT instance.
(Inherited from WeakDelegateBaseT) |
| Finalize | Discards the reference to the target represented by the current WeakReference object. (Inherited from WeakReference) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetObjectData | Populates a SerializationInfo object with all the data needed to serialize the current WeakReference object. (Inherited from WeakReference) Obsolete. |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| TryInvoke | Tries to invoke the event handler associated with this weak reference object. |
| TryInvokeInternal |
Tries to invoke the delegate associated with this weak reference object.
(Inherited from WeakDelegateBaseT) |