Modifier

Partager via


ChannelDispatcher.OnClose(TimeSpan) Method

Definition

Closes the channel listener associated with the dispatcher within a specified interval of time.

protected:
 override void OnClose(TimeSpan timeout);
protected override void OnClose (TimeSpan timeout);
override this.OnClose : TimeSpan -> unit
Protected Overrides Sub OnClose (timeout As TimeSpan)

Parameters

timeout
TimeSpan

The TimeSpan that specifies the interval of time allowed for the listener to close.

Applies to