curl_multi_remove_handle() private méthode

private curl_multi_remove_handle ( IntPtr pmulti, IntPtr peasy ) : CurlMultiCode
pmulti System.IntPtr
peasy System.IntPtr
Résultat CurlMultiCode
Exemple #1
0
        /// <summary>
        ///     Remove an CurlEasy object.
        /// </summary>
        /// <param name="curlEasy">
        ///     <see cref="CurlEasy" /> object to remove.
        /// </param>
        /// <returns>
        ///     A <see cref="CurlMultiCode" />, hopefully <c>CurlMultiCode.Ok</c>
        /// </returns>
        /// <exception cref="System.NullReferenceException">
        ///     This is thrown if the native <c>CurlMulti</c> handle wasn't
        ///     created successfully.
        /// </exception>
        public CurlMultiCode RemoveHandle(CurlEasy curlEasy)
        {
            ensureHandle();
            var p = curlEasy.Handle;

            _htEasy.Remove(p);
            return(NativeMethods.curl_multi_remove_handle(_pMulti, curlEasy.Handle));
        }