NSUrlSessionConfiguration.TimeoutIntervalForResource 属性

定义

应允许资源请求花费的最长时间(以秒为单位)。

public virtual double TimeoutIntervalForResource { [Foundation.Export("timeoutIntervalForResource")] get; [Foundation.Export("setTimeoutIntervalForResource:")] set; }
member this.TimeoutIntervalForResource : double with get, set

属性值

属性

适用于