ServiceProxy<TService>.SetBindingTimeout Method (Binding, TimeSpan, TimeSpan, TimeSpan)
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)
Syntax
protected static void SetBindingTimeout(
Binding binding,
TimeSpan sendTimeout,
TimeSpan openTimeout,
TimeSpan closeTimeout
)
Protected Shared Sub SetBindingTimeout (
binding As Binding,
sendTimeout As TimeSpan,
openTimeout As TimeSpan,
closeTimeout As TimeSpan
)
Parameters
binding
Type: System.ServiceModel.Channels.BindingType: Binding. The target channel binding.
sendTimeout
Type: System.TimeSpanType: TimeSpan.A send operation timespan.
openTimeout
Type: System.TimeSpanType: TimeSpan. An open operation timespan.
closeTimeout
Type: System.TimeSpanType: TimeSpan.A close operation timespan.
See Also
ServiceProxy<TService> Class
Microsoft.Xrm.Sdk.Client Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright