DefaultTraceListener Members
.NET Framework 1.1
Public Constructors
DefaultTraceListener Constructor Supported by the .NET Compact Framework. | Initializes a new instance of the DefaultTraceListener class with "Default" as its Name. |
Public Properties
AssertUiEnabled | Gets or sets whether the application is running in user-interface mode. |
IndentLevel (inherited from TraceListener)
Supported by the .NET Compact Framework. | Gets or sets the indent level. |
IndentSize (inherited from TraceListener)
Supported by the .NET Compact Framework. | Gets or sets the number of spaces in an indent. |
LogFileName | Gets or sets the name of a log file to write trace or debug messages to. |
Name (inherited from TraceListener)
Supported by the .NET Compact Framework. | Gets or sets a name for this TraceListener. |
Public Methods
Close (inherited from TraceListener)
Supported by the .NET Compact Framework. | When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output. |
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Dispose (inherited from TraceListener) | Overloaded. Releases the resources used by the TraceListener. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
Fail Supported by the .NET Compact Framework. | Overloaded. Overridden. Emits or displays a message and a stack trace for an assertion that always fails. |
Flush (inherited from TraceListener)
Supported by the .NET Compact Framework. | When overridden in a derived class, flushes the output buffer. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. | Returns a String that represents the current Object. |
Write Supported by the .NET Compact Framework. | Overloaded. Overridden. Writes a message to the listener. |
WriteLine Supported by the .NET Compact Framework. | Overloaded. |
Protected Properties
NeedIndent (inherited from TraceListener) | Gets or sets a value indicating whether to indent the output. |
Protected Methods
Dispose (inherited from TraceListener) | Overloaded. Releases the resources used by the TraceListener. |
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
WriteIndent (inherited from TraceListener)
Supported by the .NET Compact Framework. | Writes the indent to the listener you create when you implement this class, and resets the NeedIndent property to false. |
