curl_multi_strerror() private method

private curl_multi_strerror ( CurlMultiCode errorNum ) : IntPtr
errorNum CurlMultiCode
return System.IntPtr
示例#1
0
 /// <summary>
 ///     Get a string description of an error code.
 /// </summary>
 /// <param name="errorNum">
 ///     The <see cref="CurlMultiCode" /> for which to obtain the error
 ///     string description.
 /// </param>
 /// <returns>The string description.</returns>
 public string StrError(CurlMultiCode errorNum) => Marshal.PtrToStringAnsi(NativeMethods.curl_multi_strerror(errorNum));