Edytuj

Udostępnij za pośrednictwem


ChannelDispatcher.OnOpen(TimeSpan) Method

Definition

Opens the listener associated with the channel dispatcher.

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

Parameters

timeout
TimeSpan

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

Exceptions

The host or the message version is null.

Remarks

The channel dispatcher must be associated with a non-null service host when this method is called and message version must be set to a non-null value.

Applies to