DiscoveryEndpointElement.MaxResponseDelay 属性

定义

获取或设置服务在向客户端发送响应时可在 ProbeMatches 之间引入的最大延迟量。

public:
 property TimeSpan MaxResponseDelay { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("maxResponseDelay", DefaultValue="00:00:00")]
[System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString="00:00:00")]
public TimeSpan MaxResponseDelay { get; set; }
[System.Configuration.ConfigurationProperty("maxResponseDelay", DefaultValue="00:00:00")]
[System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString="00:00:00")]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan MaxResponseDelay { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("maxResponseDelay", DefaultValue="00:00:00")>]
[<System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString="00:00:00")>]
member this.MaxResponseDelay : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("maxResponseDelay", DefaultValue="00:00:00")>]
[<System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString="00:00:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.MaxResponseDelay : TimeSpan with get, set
Public Property MaxResponseDelay As TimeSpan

属性值

TimeSpan

最大响应延迟。

属性
TypeConverterAttribute ConfigurationPropertyAttribute ServiceModelTimeSpanValidatorAttribute

适用于