Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventProviderTraceListener::Delimiter Property

 

Gets and sets the delimiter used to delimit the event data that is written to the ETW subsystem.

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

public:
property String^ Delimiter {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The delimiter used to delimit the event data. The default delimiter is a comma.

The listener converts the data elements to strings and then concatenates the strings together, using the specified delimiter to delimit each data element in the string. The string is then written as the event data in the ETW subsystem.

To successfully parse the string, the consumer must know the delimiter that was used.

If the data contains a string that may contain a comma, specify an appropriate delimiter, so that the event data can be correctly parsed.

You do not need a manifest to consume events from the listener because the event data is a single string.

The delimiter applies to event data written using the TraceSource::TraceData method.

.NET Framework
Available since 3.5
Return to top
Show: