ClientBase<TChannel>.ChannelBase<T>.IContextChannel.OperationTimeout Property


获取或设置一个时间段,操作必须在此时间段内完成否则将引发异常。Gets or sets the time period within which an operation must complete or an exception is thrown.

property TimeSpan System::ServiceModel::IContextChannel::OperationTimeout { TimeSpan get(); void set(TimeSpan value); };
TimeSpan System.ServiceModel.IContextChannel.OperationTimeout { get; set; }
member this.System.ServiceModel.IContextChannel.OperationTimeout : TimeSpan with get, set
 Property OperationTimeout As TimeSpan Implements IContextChannel.OperationTimeout

Property Value


指定操作必须在此期间内完成的时间段的时间跨度。The timespan that specifies the time period within which an operation must complete.


Applies to