Singer Instruments PIXL Client
ApiCommandResponse Constructor



SI.PIXL.Client.Structs.CommandResponse Namespace > ApiCommandResponse Structure : ApiCommandResponse Constructor
A message detailing the response.
A code detailing the response.
If this command resulted in success.
Initialises a new instance of the ApiCommandResponse struct.
Syntax
'Declaration
 
Public Function New( _
   ByVal message As String, _
   ByVal code As String, _
   ByVal isSuccess As Boolean _
)
'Usage
 
Dim message As String
Dim code As String
Dim isSuccess As Boolean
 
Dim instance As New ApiCommandResponse(message, code, isSuccess)
public ApiCommandResponse( 
   string message,
   string code,
   bool isSuccess
)
public:
ApiCommandResponse( 
   String^ message,
   String^ code,
   bool isSuccess
)

Parameters

message
A message detailing the response.
code
A code detailing the response.
isSuccess
If this command resulted in success.
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

ApiCommandResponse Structure
ApiCommandResponse Members