Singer Instruments PIXL Client
ApiDeactivated Event
Example 



SI.PIXL.Client Namespace > PIXLClient Class : ApiDeactivated Event
Occurs when the PIXL reports the Api is being deactivated.
Syntax
'Declaration
 
Public Event ApiDeactivated As EventHandler
'Usage
 
Dim instance As PIXLClient
Dim handler As EventHandler
 
AddHandler instance.ApiDeactivated, handler
public event EventHandler ApiDeactivated
public:
event EventHandler^ ApiDeactivated
Example
This sample shows how to handle the ApiDeactivated event.
// Subscribe to ApiDeactivated events.
pixl.ApiDeactivated += (sender, args) =>
{
    // Publish an update to the Console.
    Console.WriteLine("The PIXLs api has been deactivated.");
};
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

Reference

PIXLClient Class
PIXLClient Members