Partager via


ServiceProxy<TService>.SetBindingTimeout Method

Definition

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.

Applies to