CommandPacket Constructor (Windows Embedded CE 6.0)

1/5/2010

Constructs an empty Command Packet.

Namespace: Microsoft.RemoteToolSdk.PluginComponents
Assembly: Microsoft.RemoteToolSdk (in microsoft.remotetoolsdk.dll)

Syntax

public CommandPacket ()
'Declaration
Public Sub New

Remarks

The default constructor initializes any fields to their default values.

Example

The following example builds a Command Packet, sets the Command ID to a value of 42, and adds two string parameters.

CommandPacket sendCommand = new CommandPacket();
sendCommand.CommandId = 42;
sendCommand.AddParameterString("First Parameter");
sendCommand.AddParameterString("Second Parameter");

See Also

Reference

CommandPacket Class
CommandPacket Members
Microsoft.RemoteToolSdk.PluginComponents Namespace