메소드 | 설명 | |
---|---|---|
BeginExecute ( ) : IAsyncResult |
Begins an asynchronous command execution.
|
|
BeginExecute ( AsyncCallback callback ) : IAsyncResult |
Begins an asynchronous command execution.
|
|
BeginExecute ( AsyncCallback callback, object state ) : IAsyncResult |
Begins an asynchronous command execution.
|
|
BeginExecute ( string commandText, AsyncCallback callback, object state ) : IAsyncResult |
Begins an asynchronous command execution.
|
|
CancelAsync ( ) : void |
Cancels command execution in asynchronous scenarios.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
EndExecute ( IAsyncResult asyncResult ) : string |
Waits for the pending asynchronous command execution to complete.
|
|
Execute ( ) : string |
Executes command specified by CommandText property.
|
|
Execute ( string commandText ) : string |
Executes the specified command text.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources
|
메소드 | 설명 | |
---|---|---|
Channel_Closed ( object sender, |
||
Channel_DataReceived ( object sender, |
||
Channel_ExtendedDataReceived ( object sender, |
||
Channel_RequestReceived ( object sender, |
||
CreateChannel ( ) : IChannelSession | ||
Session_Disconnected ( object sender, |
||
Session_ErrorOccured ( object sender, ExceptionEventArgs e ) : void | ||
SshCommand ( ISession session, string commandText, |
Initializes a new instance of the SshCommand class.
|
|
UnsubscribeFromEventsAndDisposeChannel ( IChannel channel ) : void |
Unsubscribes the current SshCommand from channel events, and disposes the IChannel. Does nothing when channel is |
|
WaitOnHandle ( |
The actual command will be included in the exception message. |
public BeginExecute ( AsyncCallback callback ) : IAsyncResult | ||
callback | AsyncCallback | An optional asynchronous callback, to be called when the command execution is complete. |
리턴 | IAsyncResult |
public BeginExecute ( AsyncCallback callback, object state ) : IAsyncResult | ||
callback | AsyncCallback | An optional asynchronous callback, to be called when the command execution is complete. |
state | object | A user-provided object that distinguishes this particular asynchronous read request from other requests. |
리턴 | IAsyncResult |
public BeginExecute ( string commandText, AsyncCallback callback, object state ) : IAsyncResult | ||
commandText | string | The command text. |
callback | AsyncCallback | An optional asynchronous callback, to be called when the command execution is complete. |
state | object | A user-provided object that distinguishes this particular asynchronous read request from other requests. |
리턴 | IAsyncResult |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
리턴 | void |
public EndExecute ( IAsyncResult asyncResult ) : string | ||
asyncResult | IAsyncResult | The reference to the pending asynchronous request to finish. |
리턴 | string |
public Execute ( string commandText ) : string | ||
commandText | string | The command text. |
리턴 | string |