Uređivanje

Dijeli putem


ChannelFactory.DefaultCloseTimeout Property

Definition

Gets the default interval of time provided for a close operation to complete.

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

Property Value

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

Remarks

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

Applies to