Method | Description | |
---|---|---|
RecoveredException ( string message, Exception innerException, string Source, string StackTrace, string TargetSite ) : System |
Call this method when you have an InnerException Exception to preserve.
|
|
RecoveredException ( string message, string Source, string StackTrace, string TargetSite ) : System |
Call this method when you have only a message to record.
|
Method | Description | |
---|---|---|
RecoveredException ( SerializationInfo info, StreamingContext context ) : System |
Enable serialization by implementing the protected constructor that can recreate an exception from serialization data.
|
Method | Description | |
---|---|---|
InitializeInstance ( string source, string stackTrace, string targetSite ) : void |
Both public constructors call this little routine to initialize the three properties that are usually initalized by the runtime system.
|
|
PruneStackTrace ( string pstrStackTrace ) : string |
If the stack trace originated from the System.Environment property, its first two entries are irrelevant, and should be discarded. This routine makes that happen.
|
|
RecoveredException ( ) : System |
The default constructor must be marked as private, so that it cannot be called.
|
|
RecoveredException ( string message ) : System |
The usual constructor that takes a Message must also be marked as private, so that it cannot be called, either.
|
|
RecoveredException ( string message, Exception innerException ) : System |
The usual constructor that takes a message and an innerException must also be hidden from view.
|
protected RecoveredException ( SerializationInfo info, StreamingContext context ) : System | ||
info | SerializationInfo | /// Specify the SerializationInfo object from which to reconstruct the /// RecoveredException. /// |
context | StreamingContext | /// Specify the StreamingContext object from which to reconstruct the /// RecoveredException. /// |
return | System |
public RecoveredException ( string message, Exception innerException, string Source, string StackTrace, string TargetSite ) : System | ||
message | string | /// The usual message property, available to all Exception consumers /// |
innerException | Exception | /// The usual InnerException property, available to all Exception consumers /// |
Source | string | |
StackTrace | string | /// Gets a string representation of the immediate frames on the call stack /// |
TargetSite | string | /// Gets the method that throws the current exception /// |
return | System |
public RecoveredException ( string message, string Source, string StackTrace, string TargetSite ) : System | ||
message | string | /// The usual message property, available to all Exception consumers /// |
Source | string | |
StackTrace | string | /// Gets a string representation of the immediate frames on the call stack /// |
TargetSite | string | /// Gets the method that throws the current exception /// |
return | System |