MetadataExchangeClient.OperationTimeout Property


Gets or sets the period of time within which the metadata must be downloaded before an exception is thrown.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public TimeSpan OperationTimeout { get; set; }

Property Value

Type: System.TimeSpan

The period within which the metadata must be downloaded; the default is 1 minute.

Use the OperationTimeout property to limit the amount of time the MetadataExchangeClient takes before ending the operation.

.NET Framework
Available since 3.0
Return to top