Export (0) Print
Expand All

TraceListenerCollection.AddRange Method (TraceListener[])

Adds an array of TraceListener objects to the list.

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

member AddRange : 
        value:TraceListener[] -> unit

Parameters

value
Type: System.Diagnostics.TraceListener[]

An array of TraceListener objects to add to the list.

ExceptionCondition
ArgumentNullException

value is a null reference (Nothing in Visual Basic).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft