ServiceProxy<TService>.SetBindingTimeout Method (Binding, TimeSpan, TimeSpan, TimeSpan)
Applies To: Dynamics CRM 2015
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:
static void SetBindingTimeout(
Binding^ binding,
TimeSpan sendTimeout,
TimeSpan openTimeout,
TimeSpan closeTimeout
)
static member SetBindingTimeout :
binding:Binding *
sendTimeout:TimeSpan *
openTimeout:TimeSpan *
closeTimeout:TimeSpan -> unit
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
© 2016 Microsoft. All rights reserved. Copyright