Method Add
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Abstractions.dll
Add<TSessionInformation>(Exception, TSessionInformation, string)
Adds an exception to the collector, associating it with session information that provides site-pin context.
public void Add<TSessionInformation>(Exception exception, TSessionInformation sessionInfo, string caseDescription = null)
Parameters
exception
ExceptionThe exception to add.
sessionInfo
TSessionInformationThe session information providing site-pin context.
caseDescription
stringAn optional description of the test case or operation context.
Type Parameters
TSessionInformation
The type of the session information object.
Add(Exception, SitePinInfo, string)
Adds an exception to the collector, associating it with a specific SitePinInfo.
public void Add(Exception exception, SitePinInfo sitePinInfo, string caseDescription = null)
Parameters
exception
ExceptionThe exception to add.
sitePinInfo
SitePinInfoThe site-pin information associated with the exception.
caseDescription
stringAn optional description of the test case or operation context.