C# Class System.Exception.Exception

Inheritance: ISerializable, _Exception
Afficher le fichier Open project: vargaz/mono Class Usage Examples

Private Properties

Свойство Type Description
AddFrames bool
CaptureTrace void
FixRemotingException Exception
GetFullNameForStackTrace void
GetObjectData void
SetMessage void
SetStackTrace void

Méthodes publiques

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

Méthodes protégées

Méthode Description
Exception ( SerializationInfo info, StreamingContext context ) : System.Collections

Private Methods

Méthode 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 méthode

public Exception ( ) : System.Collections
Résultat System.Collections

Exception() protected méthode

protected Exception ( SerializationInfo info, StreamingContext context ) : System.Collections
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat System.Collections

Exception() public méthode

public Exception ( string message ) : System.Collections
message string
Résultat System.Collections

Exception() public méthode

public Exception ( string message, Exception innerException ) : System.Collections
message string
innerException Exception
Résultat System.Collections

GetBaseException() public méthode

public GetBaseException ( ) : Exception
Résultat Exception

GetType() public méthode

public GetType ( ) : Type
Résultat Type

ToString() public méthode

public ToString ( ) : string
Résultat string