30 lines
668 B
C#
30 lines
668 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MoviconHub.App.Models
|
|
{
|
|
/// <summary>
|
|
/// WebSocket错误事件参数
|
|
/// </summary>
|
|
public class WebSocketErrorEventArgs : EventArgs
|
|
{
|
|
/// <summary>
|
|
/// 错误信息
|
|
/// </summary>
|
|
public string ErrorMessage { get; set; }
|
|
|
|
/// <summary>
|
|
/// 异常对象
|
|
/// </summary>
|
|
public Exception Exception { get; set; }
|
|
|
|
/// <summary>
|
|
/// 错误时间
|
|
/// </summary>
|
|
public DateTime ErrorTime { get; set; } = DateTime.Now;
|
|
}
|
|
}
|