共用方式為


UdpDiscoveryEndpointElement.MaxResponseDelay 屬性

定義

取得或設定最大 TimeSpan,服務中所有回應探查作業的 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.500")]
[System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString="00:00:00")]
public TimeSpan MaxResponseDelay { get; set; }
[System.Configuration.ConfigurationProperty("maxResponseDelay", DefaultValue="00:00:00.500")]
[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.500")>]
[<System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString="00:00:00")>]
member this.MaxResponseDelay : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("maxResponseDelay", DefaultValue="00:00:00.500")>]
[<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

適用於