ServiceProxy<TService>.SetBindingTimeout Method (Binding, TimeSpan, TimeSpan, TimeSpan)

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

The maximum amount of time a single channel operation has to complete before a timeout fault is raised on a service channel binding.

Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

protected static void SetBindingTimeout(
	Binding binding,
	TimeSpan sendTimeout,
	TimeSpan openTimeout,
	TimeSpan closeTimeout
)

Parameters

binding
Type: System.ServiceModel.Channels.Binding

Type: Binding. The target channel binding.

sendTimeout
Type: System.TimeSpan

Type: TimeSpan.A send operation timespan.

openTimeout
Type: System.TimeSpan

Type: TimeSpan. An open operation timespan.

closeTimeout
Type: System.TimeSpan

Type: TimeSpan.A close operation timespan.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: