C# Class System.Exception

Datei anzeigen Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
GetClassName String
GetDataInternal IDictionary
GetExceptionMethodFromString System.Reflection.MethodBase
GetExceptionMethodString String
GetMessageFromNativeResources String
GetObjectData void
GetTargetSiteInternal System.Reflection.MethodBase
InternalGetMethod RuntimeMethodHandle
InternalPreserveStackTrace void
InternalToString String
IsImmutableAgileException bool
PrepForRemoting Exception
SetErrorCode void
_InternalGetMethod void*
nIsTransient bool

Public Methods

Method Description
Exception ( ) : System
Exception ( String message ) : System
Exception ( String message, Exception innerException ) : System
GetBaseException ( ) : Exception
GetType ( ) : Type
ToString ( ) : String

Protected Methods

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

Private Methods

Method Description
GetClassName ( ) : String
GetDataInternal ( ) : IDictionary
GetExceptionMethodFromString ( ) : MethodBase
GetExceptionMethodString ( ) : String
GetMessageFromNativeResources ( ExceptionMessageKind kind ) : String
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetTargetSiteInternal ( ) : MethodBase
InternalGetMethod ( Object stackTrace ) : RuntimeMethodHandle
InternalPreserveStackTrace ( ) : void
InternalToString ( ) : String
IsImmutableAgileException ( Exception e ) : bool
PrepForRemoting ( ) : Exception
SetErrorCode ( int hr ) : void
_InternalGetMethod ( Object stackTrace ) : void*
nIsTransient ( int hr ) : bool

Method Details

Exception() public method

public Exception ( ) : System
return System

Exception() protected method

protected Exception ( SerializationInfo info, StreamingContext context ) : System
info SerializationInfo
context StreamingContext
return System

Exception() public method

public Exception ( String message ) : System
message String
return System

Exception() public method

public Exception ( String message, Exception innerException ) : System
message String
innerException Exception
return System

GetBaseException() public method

public GetBaseException ( ) : Exception
return Exception

GetType() public method

public GetType ( ) : Type
return Type

ToString() public method

public ToString ( ) : String
return String