Sfoglia il codice sorgente

Document exception for SendMessage.

Gert Driesen 8 anni fa
parent
commit
b5d07629e8
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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);