ChannelDispatcher.DefaultOpenTimeout 屬性

定義

取得允許通道發送器開啟的預設時間間隔。Gets the default interval of time allowed for the channel dispatcher to open.

protected:
 virtual property TimeSpan DefaultOpenTimeout { TimeSpan get(); };
protected override TimeSpan DefaultOpenTimeout { get; }
member this.DefaultOpenTimeout : TimeSpan
Protected Overrides ReadOnly Property DefaultOpenTimeout As TimeSpan

屬性值

TimeSpan

TimeSpan,其中指定允許通道發送器關閉的預設時間間隔。The TimeSpan that specifies the default interval of time allowed for the channel dispatcher to close.

備註

這個預設開啟逾時可以透過 ChannelDispatcher(IChannelListener, String, IDefaultCommunicationTimeouts) 來設定。This default open timeout can be set using ChannelDispatcher(IChannelListener, String, IDefaultCommunicationTimeouts). 否則,就會使用服務模型預設值,即 1 分鐘。Otherwise, a service model default value of 1 minute is used.

適用於