Rediger

Del via


EventProviderTraceListener.Delimiter Property

Definition

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

public:
 property System::String ^ Delimiter { System::String ^ get(); void set(System::String ^ value); };
public string Delimiter { get; set; }
member this.Delimiter : string with get, set
Public Property Delimiter As String

Property Value

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

Remarks

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.

Applies to