SpinWait.Count 屬性

定義

取得已在這個執行個體上呼叫 SpinOnce() 的次數。

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

屬性值

傳回整數,表示已在這個執行個體上呼叫 SpinOnce() 的次數。

適用於

另請參閱