Adds metadata to the step that is running in the context.

Namespace:  Gallio.Framework
Assembly:  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

ExceptionCondition
System..::.ArgumentNullExceptionThrown if metadataKey or metadataValue is null.
System..::.InvalidOperationExceptionThrown if there is no current test context.

See Also