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
exceptionExceptionThe exception to add.
sessionInfoTSessionInformationThe session information providing site-pin context.
caseDescriptionstringAn optional description of the test case or operation context.
Type Parameters
TSessionInformationThe 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
exceptionExceptionThe exception to add.
sitePinInfoSitePinInfoThe site-pin information associated with the exception.
caseDescriptionstringAn optional description of the test case or operation context.