Parcourir la source

Document exception for SendMessage.

Gert Driesen il y a 8 ans
Parent
commit
b5d07629e8
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/Renci.SshNet/Channels/ClientChannel.cs

+ 3 - 0
src/Renci.SshNet/Channels/ClientChannel.cs

@@ -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);