EventSchemaTraceListener Constructor (String^, String^, Int32)

 

Initializes a new instance of the EventSchemaTraceListener class with the specified name and specified buffer size, using the specified file as the recipient of debugging and tracing output.

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

public:
EventSchemaTraceListener(
	String^ fileName,
	String^ name,
	int bufferSize
)

Parameters

fileName
Type: System::String^

The path for the log file.

name
Type: System::String^

The name of the listener.

bufferSize
Type: System::Int32

The size of the output buffer, in bytes.

For performance considerations, bufferSize should be a multiple of 1024 bytes.

The following code example demonstrates how to use the EventSchemaTraceListener::EventSchemaTraceListener(String^, String^, Int32) constructor.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.5
Return to top
Show: