Associates custom metadata with a test component.
Namespace:
MbUnit.Framework
Assembly:
MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public MetadataAttribute(
string metadataKey,
string metadataValue
) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _
metadataKey As String, _
metadataValue As String _
) |
Parameters
- metadataKey
- Type: System..::.String
The metadata key.
- metadataValue
- Type: System..::.String
The metadata value.
Exceptions
| Exception | Condition |
|---|
| System..::.ArgumentNullException | Thrown if metadataKey
or metadataValue is null. |
See Also