The ShellCommandEventArgs type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | 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.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
| Write(Object) |
Writes the text representation of the specified object to the console.
| |
| Write(String, array<Object>[]()[][]) |
Writes the text representation of the specified array of objects to the remote console
using the specified format information.
| |
| WriteLine()()()() |
Writes an end-of-line sequence to the remote console.
| |
| WriteLine(Object) |
Writes the text representation of the specified object to the console, followed by an end-of-line sequence.
| |
| WriteLine(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
| Name | Description | |
|---|---|---|
| Action |
Gets or sets a delegate to run the specified command.
| |
| Arguments |
Gets the arguments of the command to be executed.
| |
| Command |
Gets the name of the command to be executed.
| |
| ExitCode |
Gets or sets the exit code. Only used for commands processed inside the event handler.
| |
| RawArguments |
Gets the arguments of the command in raw unparsed format.
| |
| Session |
Gets server session.
| |
| SubsystemName |
Returns subsystem name (or null if using the default shell subsystem).
| |
| User |
User on behalf of whom the command is being executed.
|