Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / MessageSourceProvider Class / MessageSourceProvider Constructor / MessageSourceProvider Constructor(String,String)
The full name of the class (with namespace) whose method issued the log message.
The simple name of the method which issued the log message.

In This Topic
    MessageSourceProvider Constructor(String,String)
    In This Topic
    Creates a MessageSourceProvider object to be used as an IMessageSourceProvider.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal className As String, _
       ByVal methodName As String _
    )
    public MessageSourceProvider( 
       string className,
       string methodName
    )

    Parameters

    className
    The full name of the class (with namespace) whose method issued the log message.
    methodName
    The simple name of the method which issued the log message.
    Remarks
    This constructor is used only for the convenience of the Log class when it needs to generate an IMessageSoruceProvider for construction of internally-generated packets without going through the usual direct PublishToLog() mechanism.
    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