码迷,mamicode.com
首页 > Web开发 > 详细

.NETFramework:Exception

时间:2018-05-20 15:34:26      阅读:212      评论:0      收藏:0      [点我收藏+]

标签:framework   ted   ODB   height   message   font   cts   nbsp   ken   

ylbtech-.NETFramework:Exception

 

1.返回顶部
1、
#region 程序集 mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\mscorlib.dll
#endregion

using System.Collections;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Security;

namespace System
{
    [ClassInterface(ClassInterfaceType.None)]
    [ComDefaultInterface(typeof(_Exception))]
    [ComVisible(true)]
    public class Exception : ISerializable, _Exception
    {
        public Exception();
        public Exception(string message);
        public Exception(string message, Exception innerException);
        [SecuritySafeCritical]
        protected Exception(SerializationInfo info, StreamingContext context);

        public virtual string Source { get; set; }
        public virtual string HelpLink { get; set; }
        public virtual string StackTrace { get; }
        public MethodBase TargetSite { get; }
        public Exception InnerException { get; }
        public virtual string Message { get; }
        public int HResult { get; protected set; }
        public virtual IDictionary Data { get; }

        protected event EventHandler<SafeSerializationEventArgs> SerializeObjectState;

        public virtual Exception GetBaseException();
        [SecurityCritical]
        public virtual void GetObjectData(SerializationInfo info, StreamingContext context);
        public Type GetType();
        public override string ToString();
    }
}
2、
2.返回顶部
 
3.返回顶部
 
4.返回顶部
 
5.返回顶部
 
 
6.返回顶部
 
技术分享图片 作者:ylbtech
出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

.NETFramework:Exception

标签:framework   ted   ODB   height   message   font   cts   nbsp   ken   

原文地址:https://www.cnblogs.com/storebook/p/9063216.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!