Singer Instruments PIXL Client
Abort Method
Example 



SI.PIXL.Client Namespace > PIXLClient Class : Abort Method
Abort a pending operation.
Syntax
'Declaration
 
Public Function Abort() As ApiCommandResponse
'Usage
 
Dim instance As PIXLClient
Dim value As ApiCommandResponse
 
value = instance.Abort()
public ApiCommandResponse Abort()
public:
ApiCommandResponse Abort(); 

Return Value

The result of the action.
Example
This sample shows how to call the Abort method.
// Abort any operation running on the PIXL.
var result = pixl.Abort();
            
// Display the result of the abort operation based on if it was a success.
if (result.IsSuccess)
    Console.WriteLine("Abort complete.");
else
    Console.WriteLine($"Abort failed because {result.Message}");
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