Свойство | Тип | Описание | |
---|---|---|---|
CurrentStreamVersion | int |
Метод | Описание | |
---|---|---|
CKExceptionData ( |
Initializes a new CKExceptionData from a CKBinaryReader. See Write(CKBinaryWriter,bool).
|
|
CKExceptionData ( |
Initializes a new CKExceptionData from a CKBinaryReader with a known version. See Write(CKBinaryWriter,bool).
|
|
CKExceptionData ( string message, string exceptionTypeName, string exceptionTypeAssemblyQualifiedName, string stackTrace, |
Initializes a new CKExceptionData with all its fields. Use the factory method CreateFrom to create a data from any exception.
|
|
CreateFrom ( |
Creates a CKExceptionData from any Exception.
|
|
ToString ( ) : string |
Overridden to return a detailed text. This string is cached once built.
|
|
ToStringBuilder ( StringBuilder b, string prefix ) : void |
Writes the exception data as a readable block of text into a StringBuilder.
|
|
ToTextWriter ( |
Writes the exception data as a readable block of text into a TextWriter.
|
|
Write ( |
Writes this exception data into a BinaryWriter.
|
Метод | Описание | |
---|---|---|
AppendField ( StringBuilder b, string prefix, string label, string text ) : StringBuilder | ||
WriteWithoutVersion ( |
public CKExceptionData ( |
||
r | The reader to read from. | |
streamIsCRLF | bool | Whether the strings have CRLF or LF for end-of-lines. |
Результат | System |
public CKExceptionData ( |
||
r | The reader to read from. | |
streamIsCRLF | bool | Whether the strings have CRLF or LF for end-of-lines. |
version | int | Known version. |
Результат | System |
public CKExceptionData ( string message, string exceptionTypeName, string exceptionTypeAssemblyQualifiedName, string stackTrace, |
||
message | string | Message of the exception. Must not be null. |
exceptionTypeName | string | Type name of the exception (no namespace nor assembly). Must not be null nor empty.. |
exceptionTypeAssemblyQualifiedName | string | Full type name of the exception. Must not be null nor empty. |
stackTrace | string | Stack trace. Can be null. |
innerException | Inner exception. If |
|
fileName | string | File name related to the exception (if it makes sense). Can be null. |
detailedInfo | string | More detailed information if any. |
loaderExceptions | Loader exceptions. |
|
aggregatedExceptions | Aggregated exceptions can be null. Otherwise, it must contain at least one exception. | |
Результат | System |
static public CreateFrom ( |
||
ex | Exception for which data must be created. Can be null: null is returned. | |
Результат |
public ToStringBuilder ( StringBuilder b, string prefix ) : void | ||
b | StringBuilder | The StringBuilder to write to. |
prefix | string | Prefix that will appear at the start of each line. |
Результат | void |
public ToTextWriter ( |
||
w | The TextWriter to write to. | |
prefix | string | Prefix that will appear at the start of each line. |
Результат | void |
public Write ( |
||
w | The writer to use. Can not be null. | |
writeVersion | bool | False to not write the |
Результат | void |