System.Runtime.ExceptionTrace
class ExceptionTrace
namespace System.Runtime
{
internal class ExceptionTrace
{
public ExceptionTrace(string eventSourceName, EtwDiagnosticTrace diagnosticTrace);
public void TraceEtwException(Exception exception, EventLevel eventLevel);
public void TraceEtwException(Exception exception, TraceEventType eventLevel);
public void AsInformation(Exception exception);
public void AsWarning(Exception exception);
public Exception AsError(Exception exception);
public Exception AsError(Exception exception, string eventSource);
public Exception AsError(TargetInvocationException targetInvocationException, string eventSource);
public Exception AsError<TPreferredException>(AggregateException aggregateException);
public Exception AsError<TPreferredException>(AggregateException aggregateException, string eventSource);
public ArgumentException Argument(string paramName, string message);
public ArgumentNullException ArgumentNull(string paramName);
public ArgumentNullException ArgumentNull(string paramName, string message);
public ArgumentException ArgumentNullOrEmpty(string paramName);
public ArgumentOutOfRangeException ArgumentOutOfRange(string paramName, object actualValue, string message);
public ObjectDisposedException ObjectDisposed(string message);
public void TraceHandledException(Exception exception, TraceEventType traceEventType);
public void TraceUnhandledException(Exception exception);
}
}