Occurs when an socket operation fails.
The event handler receives an argument of type SocketWrench.ErrorEventArgs containing data related to this event. The following SocketWrench.ErrorEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Description | Gets a value which describes the last error that has occurred. |
| Error | Gets a value which specifies the last error that has occurred. |
The OnError event occurs when a socket operation fails.