mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-10 09:15:47 +00:00
Document exception for SendMessage.
This commit is contained in:
@@ -52,6 +52,9 @@ namespace Renci.SshNet.Channels
|
||||
/// Send message to open a channel.
|
||||
/// </summary>
|
||||
/// <param name="message">Message to send</param>
|
||||
/// <exception cref="SshConnectionException">The client is not connected.</exception>
|
||||
/// <exception cref="SshOperationTimeoutException">The operation timed out.</exception>
|
||||
/// <exception cref="InvalidOperationException">The size of the packet exceeds the maximum size defined by the protocol.</exception>
|
||||
protected void SendMessage(ChannelOpenMessage message)
|
||||
{
|
||||
Session.SendMessage(message);
|
||||
|
||||
Reference in New Issue
Block a user