Loupe - Log - Monitor - Resolve
Gibraltar Namespace / ExceptionSourceProvider Class / ExceptionSourceProvider Constructor
The Exception whose first stack frame is the declared originator.

In This Topic
    ExceptionSourceProvider Constructor
    In This Topic
    Construct an ExceptionSourceProvider based on a provided Exception.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal exception As Exception _
    )
    public ExceptionSourceProvider( 
       Exception exception
    )

    Parameters

    exception
    The Exception whose first stack frame is the declared originator.
    Remarks
    The first (closest) stack frame of the first (outer) Exception will be taken as the originator of a log message using this as its IMessageSourceProvider.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also