Associates an annotation message of the specified type with the code element.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public AnnotationAttribute(
	AnnotationType type,
	string message
)
Visual Basic (Declaration)
Public Sub New ( _
	type As AnnotationType, _
	message As String _
)

Parameters

type
Type: Gallio.Model..::.AnnotationType
The annotation type.
message
Type: System..::.String
The annotation message.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThrown if message is null.

See Also