Microsoft.AspNet.Server.Kestrel.Networking.UvStreamHandle.UvReadCb C# (CSharp) Méthode

UvReadCb() private static méthode

private static UvReadCb ( IntPtr handle, int status, Libuv &buf ) : void
handle System.IntPtr
status int
buf Libuv
Résultat void
        private static void UvReadCb(IntPtr handle, int status, ref Libuv.uv_buf_t buf)
        {
            var stream = FromIntPtr<UvStreamHandle>(handle);

            try
            {
                stream._readCallback(stream, status, stream._readState);
            }
            catch (Exception ex)
            {
                stream._log.LogError("UbReadCb", ex);
                throw;
            }
        }