Adds tags 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 AddRecordingTags( string recordingId, IEnumerable<string> tags ) |
| Visual Basic |
|---|
Public Sub AddRecordingTags ( _ recordingId As String, _ tags As IEnumerable(Of String) _ ) |
Parameters
- recordingId
- Type: System..::..String
The recording ID.
- tags
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'String>)>)>
The tags to be added to the recording.
Remarks
Tags are case insensitive within Recorder Server, so a tag of "test" or "Test" will be considered the same tag. If multiple tags with the same value are added to a recording, only the first tag will be added and the rest will be ignored as duplicates.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | recordingId is nullNothingnullptra null reference (Nothing in Visual Basic). |
| System..::..ArgumentException | recordingId length is zero. |
| System..::..ArgumentNullException | tags is nullNothingnullptra null reference (Nothing in Visual Basic). |
| System..::..ArgumentException | tags 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.