The ShellCommandEventArgs type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(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 methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodWrite(Object)
Writes the text representation of the specified object to the console.
Public methodWrite(String, array<Object>[]()[][])
Writes the text representation of the specified array of objects to the remote console using the specified format information.
Public methodWriteLine()()()()
Writes an end-of-line sequence to the remote console.
Public methodWriteLine(Object)
Writes the text representation of the specified object to the console, followed by an end-of-line sequence.
Public methodWriteLine(String, array<Object>[]()[][])
Writes the text representation of the specified array of objects to the remote console using the specified format information, followed by an end-of-line sequence.

Properties

  NameDescription
Public propertyAction
Gets or sets a delegate to run the specified command.
Public propertyArguments
Gets the arguments of the command to be executed.
Public propertyCommand
Gets the name of the command to be executed.
Public propertyExitCode
Gets or sets the exit code. Only used for commands processed inside the event handler.
Public propertySession
Gets server session.
Public propertySubsystemName
Returns subsystem name (or null if using the default shell subsystem).
Public propertyUser
User on behalf of whom the command is being executed.

See Also