Class SocketErrorEventArgs
Represents arguments for SocketErrored event.
Namespace: DisCatSharp.EventArgs
Assembly: DisCatSharp.dll
Syntax
public class SocketErrorEventArgs : DiscordEventArgs
Constructors
| Improve this Doc View SourceSocketErrorEventArgs(IServiceProvider)
Initializes a new instance of the SocketErrorEventArgs class.
Declaration
public SocketErrorEventArgs(IServiceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | provider |
Properties
| Improve this Doc View SourceException
Gets the exception thrown by websocket client.
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
System.Exception |