NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ITestCommandService.AddCommand

Adds a test command with the specified name and description to the service.

[Visual Basic]
Sub AddCommand( _
   ByVal name As String, _
   ByVal command As TestCommand, _
   ByVal description As String _
)
[C#]
void AddCommand(
   string name,
   TestCommand command,
   string description
);
[C++]
void AddCommand(
   String* name,
   TestCommand* command,
   String* description
) = 0;
[JScript]
function AddCommand(
   name : String,
   command : TestCommand,
   description : String
);

Parameters

name
The name for the command.
command
The command to add.
description
A description of the command.

See Also

ITestCommandService Interface | ITestCommandService Members | System.ComponentModel.Design Namespace