public void RaiseDuplexChannelClosed(DuplexSide duplexSide, SocketError?socketError, Exception exception) { EventHandler <ChannelCloseEventArgs> handler = DuplexChannelClosed; if (handler != null) { handler(this, new ChannelCloseEventArgs(duplexSide, socketError, exception)); } }
public ChannelCloseEventArgs(DuplexSide duplexSide, SocketError?socketError, Exception exception) { this.duplexSide = duplexSide; this.socketError = socketError; this.exception = exception; }
public ChannelCloseEventArgs(DuplexSide duplexSide, SocketError? socketError, Exception exception) { this.duplexSide = duplexSide; this.socketError = socketError; this.exception = exception; }
public void RaiseDuplexChannelClosed(DuplexSide duplexSide, SocketError? socketError, Exception exception) { EventHandler<ChannelCloseEventArgs> handler = DuplexChannelClosed; if (handler != null) { handler(this, new ChannelCloseEventArgs(duplexSide, socketError, exception)); } }