Click or drag to resize

P4Command Class

Class wrapping command execution.
Inheritance Hierarchy
SystemObject
  Perforce.P4P4Command

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
public class P4Command : IDisposable

The P4Command type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyArgs
Arguments for the command
Public propertyBinaryOutput
Get the binary from the command execution
Public propertyCmd
Command String i.e 'submit'
Public propertyCmdPromptHandler
Handle any input prompts from the server
Public propertyCmdResolveAHandler
Handle any Resolve callbacks from the server
Public propertyCmdResolveHandler
Handle any Resolve callbacks from the server
Public propertyCommandId
Unique Id set each time command is run
Public propertyConnection
Keep track of associated Connection
Public propertyDataSet
Data to be processed by the command
Public propertyErrorOutput
Get the error results from the command execution
Public propertyInfoOutput
Get the info results from the command execution
Public propertypServer
Keep track of associated P4Server
Public propertyResponses
Dictionary of responses to prompts from the server, where the key is the expected prompt from the server and the value is the desired response.
Public propertyTagged
Run in tagged protocol
Public propertyTaggedOutput
Get the tagged results from the command execution
Public propertyTextOutput
Get the text output from the command execution
Top
Methods
  NameDescription
Public methodDispose
Dispose of any resources
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRun
Run the command using the existing arguments
Public methodRun(StringList)
Run the command supplying additional arguments
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldinfoResultsCallbackFn
Capture info results so they can be reformatted
Top
See Also