C# Class RadioDld.ErrorReporting

显示文件 Open project: ribbons/RadioDownloader Class Usage Examples

Public Methods

Method Description
ErrorReporting ( Exception uncaughtException ) : System
ErrorReporting ( string errorPrefix, Exception uncaughtException ) : System
ErrorReporting ( string errorText, string errorDetails ) : System
SendReport ( ) : bool
ToString ( ) : string

Private Methods

Method Description
InvariantMessage ( Exception exp ) : string

Fetch the message for the specified exception, but in the invariant culture (if it is localised when the property is accessed rather than when the exception was created).

InvariantStackTrace ( Exception exp ) : string

Fetch a stack trace for the specified exception, but in the invariant culture.

Method Details

ErrorReporting() public method

public ErrorReporting ( Exception uncaughtException ) : System
uncaughtException System.Exception
return System

ErrorReporting() public method

public ErrorReporting ( string errorPrefix, Exception uncaughtException ) : System
errorPrefix string
uncaughtException System.Exception
return System

ErrorReporting() public method

public ErrorReporting ( string errorText, string errorDetails ) : System
errorText string
errorDetails string
return System

SendReport() public method

public SendReport ( ) : bool
return bool

ToString() public method

public ToString ( ) : string
return string