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: 2018.3.168.2682 (2018.3.168.2682)
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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRun
Run the command using the existing arguments
Public methodRun(StringList)
Run the command supplying additional arguments
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldinfoResultsCallbackFn
Capture info results so they can be reformatted
Top
See Also