示例#1
0
 /// <summary>
 /// Get a string description of an error code.
 /// </summary>
 /// <param name="errorNum">
 /// The <see cref="CURLMcode"/> for which to obtain the error
 /// string description.
 /// </param>
 /// <returns>The string description.</returns>
 public String StrError(CURLMcode errorNum)
 {
     return(Marshal.PtrToStringAnsi(External.curl_multi_strerror(
                                        errorNum)));
 }