Associates an annotation message of the specified type with the code element.
Namespace:
MbUnit.FrameworkAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if message is null. |
