Explorar el Código

Document exception for SendMessage.

Gert Driesen hace 8 años
padre
commit
b5d07629e8
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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);