ClientBase<TChannel>.ChannelBase<T>.OperationTimeout 属性
定义
获取或设置一个时间段,操作必须在此时间段内完成否则将引发异常。Gets or sets the time period within which an operation must complete or an exception is thrown.
public:
property TimeSpan OperationTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan OperationTimeout { get; set; }
member this.OperationTimeout : TimeSpan with get, set
Public Property OperationTimeout As TimeSpan
属性值
TimeSpan,指定操作必须在此期间内完成的时间段。The TimeSpan that specifies the time period within which an operation must complete.