Add attributes to a recording.
Note: This method is supported for IC Server version 2016 R3 and beyond.
Assembly: ININ.IceLib.QualityManagement (in ININ.IceLib.QualityManagement.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public void AddRecordingAttributes( string recordingId, IDictionary<string, string> attributes ) |
Visual Basic |
---|
Public Sub AddRecordingAttributes ( _ recordingId As String, _ attributes As IDictionary(Of String, String) _ ) |
Parameters
- recordingId
- Type: System..::..String
The recording ID.
- attributes
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, String>)>)>
The attributes to be added to the recording.
Remarks
Attribute names are case insensitive within Recorder Server, so an attribute name of "test" or "Test" will refer to the same attribute. If multiple attributes with the same name are added to a recording, only the first attribute will be added and the rest will be ignored as duplicates.
If an attribute is added that already exists on the recording, the value will not be updated.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | recordingId is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::..ArgumentException | recordingId length is zero. |
System..::..ArgumentNullException | attributes is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::..ArgumentException | attributes is empty. |
ININ.IceLib.Connection..::..RequestTimeoutException | The request timed out while waiting for a response. |
ININ.IceLib.Connection..::..SessionDisconnectedException | The Session does not have a valid connection. |
System..::..ObjectDisposedException | The Session has been disposed. |
Version Information
Supported for IC Server version 2016 R3 and beyond.