<PackageReference Include="System.ServiceModel.Primitives" Version="8.0.0" />

System.Runtime.ExceptionTrace

public ExceptionTrace(string eventSourceName, EtwDiagnosticTrace diagnosticTrace)

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 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 void AsInformation(Exception exception)

public void AsWarning(Exception exception)

public ObjectDisposedException ObjectDisposed(string message)

public void TraceEtwException(Exception exception, EventLevel eventLevel)

public void TraceEtwException(Exception exception, TraceEventType eventLevel)

public void TraceHandledException(Exception exception, TraceEventType traceEventType)

public void TraceUnhandledException(Exception exception)