C# Class System.Exception.Exception

Inheritance: ISerializable, _Exception
Show file Open project: vargaz/mono Class Usage Examples

Private Properties

Property Type Description
AddFrames bool
CaptureTrace void
FixRemotingException Exception
GetFullNameForStackTrace void
GetObjectData void
SetMessage void
SetStackTrace void

Public Methods

Method Description
Exception ( ) : System.Collections
Exception ( string message ) : System.Collections
Exception ( string message, Exception innerException ) : System.Collections
GetBaseException ( ) : Exception
GetType ( ) : Type
ToString ( ) : string

Protected Methods

Method Description
Exception ( SerializationInfo info, StreamingContext context ) : System.Collections

Private Methods

Method Description
AddFrames ( StringBuilder sb, string newline, string unknown, StackTrace st ) : bool
CaptureTrace ( ) : void
FixRemotingException ( ) : Exception
GetFullNameForStackTrace ( StringBuilder sb, MethodBase mi ) : void
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
SetMessage ( string s ) : void
SetStackTrace ( string s ) : void

Method Details

Exception() public method

public Exception ( ) : System.Collections
return System.Collections

Exception() protected method

protected Exception ( SerializationInfo info, StreamingContext context ) : System.Collections
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System.Collections

Exception() public method

public Exception ( string message ) : System.Collections
message string
return System.Collections

Exception() public method

public Exception ( string message, Exception innerException ) : System.Collections
message string
innerException Exception
return System.Collections

GetBaseException() public method

public GetBaseException ( ) : Exception
return Exception

GetType() public method

public GetType ( ) : Type
return Type

ToString() public method

public ToString ( ) : string
return string