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

underlyingQueue

The dispatch queue that the operation queue uses to invoke operations.

Declaration 宣言

unowned(unsafe) var underlyingQueue: DispatchQueue? { get set }

Discussion 議論

The default value of this property is nil. You can set the value of this property to an existing dispatch queue to have enqueued operations interspersed with blocks submitted to that dispatch queue. このプロパティの省略時の値はnilです。あなたは、このプロパティの値をある既存のディスパッチキューに設定して、キューに入れられたオペレーションそれらが、そのディスパッチキューに提供されたブロックの間に点在する状態にできます。

The value of this property should only be set if there are no operations in the queue; setting the value of this property when operationCount is not equal to 0 raises an invalidArgumentException. The value of this property must not be the value returned by dispatch_get_main_queue(). The quality-of-service level set for the underlying dispatch queue overrides any value set for the operation queue's qualityOfService property. このプロパティの値は、キューの中にオペレーションがひとつも存在しない場合に設定されるだけであるべきです;このプロパティの値をoperationCount0に等しくない場合に設定することはinvalidArgumentExceptionを引き起こします。このプロパティの値は、dispatch_get_main_queue()によって返される値であってはいけません。基礎をなすディスパッチキューに対して設定される「サービス品質」水準は、キューのもつqualityOfServiceプロパティをオーバライドします。

See Also 参照

Configuring the Queue キューを構成設定する