Renci.SshNet.ForwardedPort.RaiseExceptionEvent C# (CSharp) Method

RaiseExceptionEvent() protected method

Raises Renci.SshNet.ForwardedPort.Exception event.
protected RaiseExceptionEvent ( Exception exception ) : void
exception System.Exception The exception.
return void
        protected void RaiseExceptionEvent(Exception exception)
        {
            var handlers = Exception;
            if (handlers != null)
            {
                handlers(this, new ExceptionEventArgs(exception));
            }
        }