Export (0) Print
Expand All

ChannelManagerBase.DefaultSendTimeout Property

When overridden in a derived class, gets the default interval of time a channel has to complete the sending of a message.

Namespace:  System.ServiceModel.Channels
Assemblies:   System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)
  System.ServiceModel (in System.ServiceModel.dll)

protected abstract TimeSpan DefaultSendTimeout { get; }

Property Value

Type: System.TimeSpan
The default Timespan that specifies how long the channel has to complete the sending of a message before timing out once the send method has been invoked.

All operations that are potentially lengthy must have a timeout. Methods that do not take explicit timeouts, must delegate to methods that do with default timeouts or must not do any work that blocks. Timeouts are the total limit for high-level operations for which they are to complete, so any retries must be limited to the time not already accessed by earlier tries.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft