Class MultiTagMessageUtil
Utility methods for working with IProgress implementations.
public static class MultiTagMessageUtil
- Inheritance
-
MultiTagMessageUtil
- Inherited Members
Methods
ReportError(IProgress<object>, string, params string[])
Adds an Error message to the message host.
public static void ReportError(this IProgress<object> host, string message, params string[] otherTags)
Parameters
hostIProgress<object>The message host
messagestringThe message content
otherTagsstring[]Additional tags to associate with the message
ReportException(IProgress<object>, Exception, params string[])
Adds an Exception message to the message host.
public static void ReportException(this IProgress<object> host, Exception exception, params string[] otherTags)
Parameters
hostIProgress<object>The message host
exceptionExceptionThe exception to log
otherTagsstring[]Additional tags to associate with the message
ReportInfo(IProgress<object>, string, params string[])
Adds an Info message to the message host.
public static void ReportInfo(this IProgress<object> host, string message, params string[] otherTags)
Parameters
hostIProgress<object>The message host
messagestringThe message content
otherTagsstring[]Additional tags to associate with the message
ReportMessage(IProgress<object>, string, params string[])
Adds a message with the specified tags to the message host.
public static void ReportMessage(this IProgress<object> host, string msg, params string[] tags)
Parameters
hostIProgress<object>The message host
msgstringThe message content
tagsstring[]The tags to associate with the message
ReportProgress(IProgress<object>, string, params string[])
Adds a Progress message to the message host.
public static void ReportProgress(this IProgress<object> host, string message, params string[] otherTags)
Parameters
hostIProgress<object>The message host
messagestringThe message content
otherTagsstring[]Additional tags to associate with the message
ReportSuccess(IProgress<object>, string, params string[])
Adds a Success message to the message host.
public static void ReportSuccess(this IProgress<object> host, string message, params string[] otherTags)
Parameters
hostIProgress<object>The message host
messagestringThe message content
otherTagsstring[]Additional tags to associate with the message
ReportWarning(IProgress<object>, string, params string[])
Adds a warning message to the message host.
public static void ReportWarning(this IProgress<object> host, string message, params string[] otherTags)