| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim exception As Exception Dim diagnosticsMask As DiagnosticsMasks Dim serviceLevel As Boolean Dim stringTable As StringTable Dim instance As New DiagnosticInfo(exception, diagnosticsMask, serviceLevel, stringTable)  | |
| C# | |
|---|---|
public DiagnosticInfo( Exception exception, DiagnosticsMasks diagnosticsMask, bool serviceLevel, StringTable stringTable )  | |
Parameters
- exception
 - The exception to associated with the diagnostic data
 - diagnosticsMask
 - A bitmask describing the type of diagnostic data
 - serviceLevel
 - The service level
 - stringTable
 - A table of strings that may contain additional diagnostic data
 
            Initializes the object with an exception.
            
            
            
            
            
            Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x