Novell.Directory.Ldap.MessageAgent.isComplete C# (CSharp) Method

isComplete() private method

Indicates whether a specific operation is complete
private isComplete ( int msgid ) : bool
msgid int
return bool
        internal bool isComplete(int msgid)
        {
            try
            {
                Message info = messages.findMessageById(msgid);
                if (!info.Complete)
                {
                    return false;
                }
            }
            catch (System.FieldAccessException ex)
            {
                ; // return true, if no message, it must be complete
            }
            return true;
        }

Usage Example

コード例 #1
0
 /// <summary> Reports true if all results have been received for a particular
 /// message id.
 ///
 /// If the search result done has been received from the server for the
 /// message id, it reports true.  There may still be messages waiting to be
 /// retrieved by the applcation with getResponse.
 ///
 /// @throws IllegalArgumentException if there is no outstanding operation
 /// for the message ID,
 /// </summary>
 public virtual bool isComplete(int msgid)
 {
     return(agent.isComplete(msgid));
 }