NAnt SDK Documentation - v0.85-nightly-2005-11-09

ConsoleDriver.CreateListener Method 

[This is preliminary documentation and subject to change.]

Dynamically constructs an IBuildListener instance of the class specified.

[Visual Basic]
Public Shared Function CreateListener( _
   ByVal typeName As String _
) As IBuildListener
[C#]
public static IBuildListener CreateListener(
   string typeName
);

Parameters

typeName
The fully qualified name of the listener that should be instantiated.

Return Value

Missing <returns> documentation for M:NAnt.Core.ConsoleDriver.CreateListener(System.String)

Remarks

At this point, only looks in the assembly where IBuildListener is defined.

Exceptions

Exception TypeCondition
TypeLoadExceptionType typeName could not be loaded.
ArgumentExceptiontypeName does not implement IBuildListener.

See Also

ConsoleDriver Class | NAnt.Core Namespace