Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


WebEventFormatter.AppendLine(String) Method

Definition

Appends the specified string and a carriage return to the event information.

public void AppendLine (string s);

Parameters

s
String

The string to add to the event information.

Examples

The following code example shows how to use the AppendLine method.

  formatter.AppendLine(
       "*SampleWebBaseEvent Start *");

  // Display custom event information.
  formatter.AppendLine(customCreatedMsg);
  formatter.AppendLine(customRaisedMsg);
  formatter.AppendLine(firingRecordInfo);

  formatter.AppendLine(
"* SampleWebBaseEvent End *");

Remarks

The AppendLine method allows you to customize the event information by adding your own event-specific data.

Applies to

Termék Verziók
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1