ServiceProxy<TService>.SetBindingTimeout Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The maximum amount of time a single channel operation has to complete before a timeout fault is raised on a service channel binding.
protected:
static void SetBindingTimeout(System::ServiceModel::Channels::Binding ^ binding, TimeSpan sendTimeout, TimeSpan openTimeout, TimeSpan closeTimeout);
protected static void SetBindingTimeout (System.ServiceModel.Channels.Binding binding, TimeSpan sendTimeout, TimeSpan openTimeout, TimeSpan closeTimeout);
static member SetBindingTimeout : System.ServiceModel.Channels.Binding * TimeSpan * TimeSpan * TimeSpan -> unit
Protected Shared Sub SetBindingTimeout (binding As Binding, sendTimeout As TimeSpan, openTimeout As TimeSpan, closeTimeout As TimeSpan)
Parameters
- binding
- Binding
The target channel binding.
- sendTimeout
- TimeSpan
A send operation timespan.
- openTimeout
- TimeSpan
An open operation timespan.
- closeTimeout
- TimeSpan
A close operation timespan.