| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal channels As List(Of ILoggingChannel) _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim channels As List(Of ILoggingChannel) Dim instance As New Logger(channels) | |
| C# | |
|---|---|
public Logger( List<ILoggingChannel> channels ) | |
| C++/CLI | |
|---|---|
public: Logger( List<ILoggingChannel^>^ channels ) | |
Parameters
- channels
- The logging channels to associated with this Logger instance.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7