Skip to content

Commit

Permalink
Document exception for SendMessage.
Browse files Browse the repository at this point in the history
  • Loading branch information
drieseng committed Sep 24, 2017
1 parent 3b23d11 commit b5d0762
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Renci.SshNet/Channels/ClientChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ protected virtual void OnOpenConfirmation(uint remoteChannelNumber, uint initial
/// 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);
Expand Down

0 comments on commit b5d0762

Please sign in to comment.