Singer Instruments PIXL Client
DebugInformationReceived Event
Example 



SI.PIXL.Client Namespace > PIXLClient Class : DebugInformationReceived Event
Occurs when a new item of debugging information is received.
Syntax
'Declaration
 
Public Event DebugInformationReceived As EventHandler(Of String)
'Usage
 
Dim instance As PIXLClient
Dim handler As EventHandler(Of String)
 
AddHandler instance.DebugInformationReceived, handler
public event EventHandler<string> DebugInformationReceived
public:
event EventHandler<String^>^ DebugInformationReceived
Event Data

The event handler receives an argument of type string containing data related to this event. The following string properties provide information specific to this event.

PropertyDescription
Gets the System.Char object at a specified position in the current System.String object.  
Gets the number of characters in the current System.String object.  
Example
This sample shows how to handle the DebugInformationReceived event.
// Subscribe to DebugInformationReceived events.
pixl.DebugInformationReceived += (sender, info) =>
{
    // Publish an update to the Console.
    Console.WriteLine(info);
};
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