Partager via


UdpDiscoveryEndpointElement.MaxResponseDelay Propriété

Définition

Obtient ou définit le TimeSpan maximal pendant lequel tous les messages ProbeMatch d'un service répondant à une opération de sonde sont envoyés.

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

Valeur de propriété

TimeSpan

Délai maximal.

Attributs
TypeConverterAttribute ConfigurationPropertyAttribute ServiceModelTimeSpanValidatorAttribute

S’applique à