Table of Contents

Class MultiTagMessageUtil

Namespace
Hi.Common.Messages
Assembly
HiGeom.dll

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

host IProgress<object>

The message host

message string

The message content

otherTags string[]

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

host IProgress<object>

The message host

exception Exception

The exception to log

otherTags string[]

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

host IProgress<object>

The message host

message string

The message content

otherTags string[]

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

host IProgress<object>

The message host

msg string

The message content

tags string[]

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

host IProgress<object>

The message host

message string

The message content

otherTags string[]

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

host IProgress<object>

The message host

message string

The message content

otherTags string[]

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)

Parameters

host IProgress<object>

The message host

message string

The message content

otherTags string[]

Additional tags to associate with the message