Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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