📄 failedeventargs.cs
字号:
namespace Imps.Client.Base
{
using System;
public class FailedEventArgs : EventArgs
{
private Exception _ex;
private string _explain;
public FailedEventArgs(Exception exFailed)
{
this._ex = exFailed;
}
public FailedEventArgs(Exception exFailed, string explanation)
{
this._ex = exFailed;
this._explain = explanation;
}
public string Explain
{
get
{
if (string.IsNullOrEmpty(this._explain))
{
return this._ex.Message;
}
return this._explain;
}
}
public Exception FailedException
{
get
{
return this._ex;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -