Instance Property インスタンスプロパティ

timeoutIntervalForResource

The maximum amount of time that a resource request should be allowed to take. リソースリクエストがとるのを許可されるべき最大限の時間量。

Declaration 宣言

var timeoutIntervalForResource: TimeInterval { get set }

Discussion 議論

This property determines the resource timeout interval for all tasks within sessions based on this configuration. The resource timeout interval controls how long (in seconds) to wait for an entire resource to transfer before giving up. The resource timer starts when the request is initiated and counts until either the request completes or this timeout interval is reached, whichever comes first. このプロパティは、リソースタイムアウト間隔を、この構成設定に基づくセッション内の全てのタスクに対して決定します。リソースタイムアウト間隔は、全リソースが転送されるのをあきらめる前にどのくらい長く(秒で)待つかを制御します。リソースタイマーは、リクエストが着手される時に開始します、そしてリクエストが完了するかこのタイムアウト間隔が到達されるかどちらかまで計数されます、どちらが最初に来ても。

The default value is 7 days. 省略時の値は、7日です。

See Also 参照

Setting General Properties 一般プロパティを設定する