Singer Instruments PIXL Client
OpenMotorisedDoor(ApiCommandResponseCallback) Method
Example 



SI.PIXL.Client Namespace > PIXLClient Class > OpenMotorisedDoor Method : OpenMotorisedDoor(ApiCommandResponseCallback) Method
A callback to invoke when the command has finished execution.
Open the PIXL's motorised door.
Syntax
'Declaration
 
Public Overloads Function OpenMotorisedDoor( _
   ByVal callback As ApiCommandResponseCallback _
) As Task
'Usage
 
Dim instance As PIXLClient
Dim callback As ApiCommandResponseCallback
Dim value As Task
 
value = instance.OpenMotorisedDoor(callback)
public Task OpenMotorisedDoor( 
   ApiCommandResponseCallback callback
)
public:
Task^ OpenMotorisedDoor( 
   ApiCommandResponseCallback^ callback
) 

Parameters

callback
A callback to invoke when the command has finished execution.

Return Value

The result of the action.
Example
This sample shows how to use the OpenMotorisedDoor(ApiCommandResponseCallback) method.
// Open the PIXL's motorised door.
pixl.OpenMotorisedDoor(x => Console.WriteLine(x => x.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
Overload List