Nevron Open Vision Documentation
Nevron.Nov Namespace / NDebug Class / WriteException Method


In This Topic
    WriteException Method (NDebug)
    In This Topic
    Writes an exception to the trace.
    Syntax
    'Declaration
     
    
    <System.Diagnostics.ConditionalAttribute("DEBUG")>
    Public Shared Sub WriteException( _
       ByVal message As System.String, _
       ByVal ex As System.Exception _
    ) 
    'Usage
     
    
    Dim message As System.String
    Dim ex As System.Exception
     
    NDebug.WriteException(message, ex)
    [System.Diagnostics.Conditional("DEBUG")]
    public static void WriteException( 
       System.string message,
       System.Exception ex
    )

    Parameters

    message
    ex
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also