public class SynchronousEvent<T> : IDisposable
where T : EventArgs
Public Class SynchronousEvent(Of T As EventArgs)
Implements IDisposablegeneric<typename T>
where T : EventArgs
public ref class SynchronousEvent : IDisposable| SynchronousEventT | Initializes a new instance of the SynchronousEvent class. |
| Dispose | Prevents any future events from processing and attempts to cancel a pending operation. Function returns before any attempts to cancel are successful. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| RaiseEvent | Raises the custom event with the provided event arguments. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| CustomEvent | Occurs when a custom event of type T is triggered. |