IGenericEvent.FormatMessage(IFormatProvider, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the formatted message for the event.
public string FormatMessage (IFormatProvider formatProvider, string flagsSeparator = ", ");
abstract member FormatMessage : IFormatProvider * string -> string
Public Function FormatMessage (formatProvider As IFormatProvider, Optional flagsSeparator As String = ", ") As String
Parameters
- formatProvider
- IFormatProvider
An IFormatProvider that specifies how the message should be formatted.
- flagsSeparator
- String
A String that represents the separator between flag values in the formatted message.
Returns
The formatted message for the event.
Remarks
This method takes the message template for the event, substitutes in real values for the placeholders in the template, and formats the result according to the IFormatProvider.