Summary
Extensions to send exception messages to trace output with relevant context such as currently executing module and document.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Execution - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["TraceExceptionsExtensions"]
class Type type-node
Syntax
public static class TraceExceptionsExtensions
Methods
Name | Value | Summary |
---|---|---|
ForEach |
void |
If an exception is thrown within the action, an error messages will be sent to the trace output
containing information about the document source, the current module, and the exception message.
The exception will also be re-thrown once the message has been sent to the trace listeners.
static
|
ParallelForEach |
void |
If an exception is thrown within the action, an error messages will be sent to the trace output
containing information about the document source, the current module, and the exception message.
The exception will also be re-thrown once the message has been sent to the trace listeners.
static
|
Select |
ParallelQuery |
Evaluates a PLINQ
Select method over a sequence of Wyam.Common.Documents.IDocument and traces any exceptions.
static
|
Select |
IEnumerable |
Evaluates a LINQ
Select method and traces any exceptions.
static
|
SelectMany |
ParallelQuery |
Evaluates a PLINQ
SelectMany method over a sequence of Wyam.Common.Documents.IDocument and traces any exceptions.
static
|
SelectMany |
IEnumerable |
Evaluates a LINQ
SelectMany method and traces any exceptions.
static
|
TraceExceptions |
void |
If an exception is thrown within the action, an error messages will be sent to the trace output
containing information about the current module and the exception message.
The exception will also be re-thrown once the message has been sent to the trace listeners.
static
|
TraceExceptions |
void |
If an exception is thrown within the action, an error messages will be sent to the trace output
containing information about the document source, the current module, and the exception message.
The exception will also be re-thrown once the message has been sent to the trace listeners.
static
|
TraceExceptions |
TResult |
If an exception is thrown within the action, an error messages will be sent to the trace output
containing information about the current module and the exception message.
The exception will also be re-thrown once the message has been sent to the trace listeners.
static
|
TraceExceptions |
TResult |
If an exception is thrown within the action, an error messages will be sent to the trace output
containing information about the document source, the current module, and the exception message.
The exception will also be re-thrown once the message has been sent to the trace listeners.
static
|
Where |
IEnumerable |
Evaluates a LINQ
Where method and traces any exceptions.
static
|