Responder Developer Guide
ExecuteCommand(OutputVisibility,String,TimeSpan) Method


Executes a command against all running program instances.
Syntax
'Declaration
 
Public Overloads Function ExecuteCommand( _
   ByVal visibility As OutputVisibility, _
   ByVal input As String, _
   ByVal timeout As TimeSpan _
) As String()
'Usage
 
Dim instance As ProgramGroup
Dim visibility As OutputVisibility
Dim input As String
Dim timeout As TimeSpan
Dim value() As String
 
value = instance.ExecuteCommand(visibility, input, timeout)
public string[] ExecuteCommand( 
   OutputVisibility visibility,
   string input,
   TimeSpan timeout
)

Parameters

visibility
input
timeout

Return Value

An array of
Remarks

The term "ExecuteCommand" refers to sending a string to the StandardInput of the program and waiting for and capturing the response from either StandardOutput or StandardError. A response may (and often does) consist of multiple lines of output, so the definition of what constitutes a complete response is application specific and determined by the Program class.

The ExecuteCommand method on the group will call the ExecuteCommand method on all programs in the Programs collection for the group.

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

ProgramGroup Class
ProgramGroup Members
Overload List

 

 


Send Comment