Export (0) Print
Expand All

EventRecord.FormatDescription Method (IEnumerable<Object>)

Gets the event message, replacing variables in the message with the specified values.

Namespace:  System.Diagnostics.Eventing.Reader
Assembly:  System.Core (in System.Core.dll)

public abstract string FormatDescription(
	IEnumerable<Object> values


Type: System.Collections.Generic.IEnumerable<Object>

The values used to replace variables in the event message. Variables are represented by %n, where n is a number.

Return Value

Type: System.String
Returns a string that contains the event message in the current locale.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft