Adds metadata to the step that is running in the context.
Namespace:
Gallio.FrameworkAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.459.0)
Syntax
| C# |
|---|
public static void AddMetadata( string metadataKey, string metadataValue ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub AddMetadata ( _ 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. |
| System..::.InvalidOperationException | Thrown if there is no current test context. |
