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

UvConnectionCb() private static méthode

private static UvConnectionCb ( IntPtr handle, int status ) : void
handle System.IntPtr
status int
Résultat void
        private static void UvConnectionCb(IntPtr handle, int status)
        {
            var stream = FromIntPtr<UvStreamHandle>(handle);

            Exception error;
            status = stream.Libuv.Check(status, out error);

            try
            {
                stream._listenCallback(stream, status, error, stream._listenState);
            }
            catch (Exception ex)
            {
                stream._log.LogError("UvConnectionCb", ex);
                throw;
            }
        }