dotnet-core/release-notes/1.0/1.0.0-api/1.0.0-api_System.ServiceModel.Diagnostics.md
2017-07-05 14:24:38 -07:00

29 lines
1.4 KiB
Markdown

# System.ServiceModel.Diagnostics
``` diff
+namespace System.ServiceModel.Diagnostics {
+ public class ExceptionUtility {
+ public ArgumentException ThrowHelperArgument(string message);
+ public ArgumentException ThrowHelperArgument(string paramName, string message);
+ public ArgumentNullException ThrowHelperArgumentNull(string paramName);
+ public ArgumentNullException ThrowHelperArgumentNull(string paramName, string message);
+ public ArgumentException ThrowHelperArgumentNullOrEmptyString(string arg);
+ public Exception ThrowHelperCallback(Exception innerException);
+ public Exception ThrowHelperCallback(string message, Exception innerException);
+ public Exception ThrowHelperCritical(Exception exception);
+ public Exception ThrowHelperError(Exception exception);
+ public Exception ThrowHelperFatal(string message, Exception innerException);
+ public Exception ThrowHelperInternal(bool fatal);
+ public Exception ThrowHelperInvalidOperation(string message);
+ public Exception ThrowHelperWarning(Exception exception);
+ }
+ public static class TraceUtility {
+ public const string E2EActivityId = "E2EActivityId";
+ public const string TraceApplicationReference = "TraceApplicationReference";
+ public static bool PropagateUserActivity { get; }
+ public static long RetrieveMessageNumber();
+ }
+}
```