你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConnectionOrientedTransportBindingElement.MaxOutputDelay 属性

定义

获取或设置消息块或完整消息在发出之前可以在内存中保持缓冲的最大时间间隔。

public TimeSpan MaxOutputDelay { get; set; }
member this.MaxOutputDelay : TimeSpan with get, set
Public Property MaxOutputDelay As TimeSpan

属性值

返回一个 , TimeSpan 该值指定消息块或完整消息在发送前可在内存中保持缓冲的最大时间间隔。默认值为 2 秒。 仅当传出消息的 AllowedOutputBatching 属性设置为 true 时,此属性才有意义。 否则,该值就会被忽略,消息将立即发送。

例外

值小于零。

适用于