浏览代码

Document exception for SendMessage.

Gert Driesen 8 年之前
父节点
当前提交
b5d07629e8
共有 1 个文件被更改,包括 3 次插入0 次删除
  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);