Ejemplo n.º 1
0
        private void WriteException(IInputContext context, Exception exception, IHostAddress clientHostAddress)
        {
            var exceptionMessage = new ExceptionMessage(clientHostAddress, FaultException.Create(exception));

            context.Write(exceptionMessage.ToFrame());
        }