ChannelFactory.DefaultOpenTimeout Property

Definition

Gets the default interval of time provided for an open operation to complete.

protected:
 virtual property TimeSpan DefaultOpenTimeout { TimeSpan get(); };
protected override TimeSpan DefaultOpenTimeout { get; }
member this.DefaultOpenTimeout : TimeSpan
Protected Overrides ReadOnly Property DefaultOpenTimeout As TimeSpan

Property Value

The default TimeSpan that specifies how long the open operation has to complete before timing out.

Remarks

Gets the default service model open time-out if both the ServiceEndpoint and Binding are null. The default value for the service model open time-out is 1 minute. Otherwise, the value is set to the OpenTimeout value associated with the ServiceEndpoint.

Applies to