System.Exception public class Exception : ISerializable Documentation Code namespace System { public class Exception : ISerializable { public virtual IDictionary Data { get; } public virtual string HelpLink { get; set; } public int HResult { get; set; } public Exception InnerException { get; } public virtual string Message { get; } public virtual string Source { get; set; } public virtual string StackTrace { get; } public MethodBase TargetSite { get; } protected event EventHandler<SafeSerializationEventArgs> SerializeObjectState; public Exception(); protected Exception(SerializationInfo info, StreamingContext context); public Exception(string message); public Exception(string message, Exception innerException); public virtual Exception GetBaseException(); public virtual void GetObjectData(SerializationInfo info, StreamingContext context); public new Type GetType(); } }