Skip to content

Commit b5d0762

Browse files
committed
Document exception for SendMessage.
1 parent 3b23d11 commit b5d0762

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Renci.SshNet/Channels/ClientChannel.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ protected virtual void OnOpenConfirmation(uint remoteChannelNumber, uint initial
5252
/// Send message to open a channel.
5353
/// </summary>
5454
/// <param name="message">Message to send</param>
55+
/// <exception cref="SshConnectionException">The client is not connected.</exception>
56+
/// <exception cref="SshOperationTimeoutException">The operation timed out.</exception>
57+
/// <exception cref="InvalidOperationException">The size of the packet exceeds the maximum size defined by the protocol.</exception>
5558
protected void SendMessage(ChannelOpenMessage message)
5659
{
5760
Session.SendMessage(message);

0 commit comments

Comments
 (0)