NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TraceListeners.Remove (String)

Removes the first listener in the list that has the specified name.

[Visual Basic]
Overloads Public Sub Remove( _
   ByVal name As String _
)
[C#]
public void Remove(
   string name
);
[C++]
public: void Remove(
   String* name
);
[JScript]
public function Remove(
   name : String
);

Parameters

name
The name of the TraceListener that you want to remove from the list.

Remarks

The name is case-sensitive. That is, if two listeners exist with the names "Rname" and "rname," the System.TraceListeners.Remove method will find the specific listener you name.

See Also

TraceListeners Class | TraceListeners Members | System.Diagnostics Namespace | TraceListeners.Remove Overload List | TraceListeners | TraceListener | DefaultTraceListener | TextWriterTraceListener | Debug | Trace