このアイドル プロセッサの残りの作業負荷を取得します。
名前空間 : Microsoft.VisualStudio.Data.Schema.Project.Project
アセンブリ : Microsoft.VisualStudio.Data.Schema.Project (Microsoft.VisualStudio.Data.Schema.Project.dll 内)
構文
'宣言
Sub GetWorkload ( _
<OutAttribute> ByRef stepsLeftToPerform As Integer, _
<OutAttribute> ByRef stepsProcessedForEachIdle As Integer, _
<OutAttribute> ByRef workloadDescription As String _
)
'使用
Dim instance As IWorkloadProvider
Dim stepsLeftToPerform As Integer
Dim stepsProcessedForEachIdle As Integer
Dim workloadDescription As String
instance.GetWorkload(stepsLeftToPerform, _
stepsProcessedForEachIdle, workloadDescription)
void GetWorkload(
out int stepsLeftToPerform,
out int stepsProcessedForEachIdle,
out string workloadDescription
)
void GetWorkload(
[OutAttribute] int% stepsLeftToPerform,
[OutAttribute] int% stepsProcessedForEachIdle,
[OutAttribute] String^% workloadDescription
)
function GetWorkload(
stepsLeftToPerform : int,
stepsProcessedForEachIdle : int,
workloadDescription : String
)
パラメータ
- stepsLeftToPerform
型 : System.Int32%
このアイドル プロセッサの作業が完了するまでに実行する必要があるステップ数。
- stepsProcessedForEachIdle
型 : System.Int32%
このアイドル プロセッサの呼び出しで処理される (平均) ステップ数。 これは、キューに格納されたすべての作業が完了するまでに必要となる追加の OnIdle の呼び出し回数をシステムに示します。
- workloadDescription
型 : System.String%
残りの作業負荷がある場合に、実行する必要がある作業の種類を返します。 十分な量の作業があり、VS ステータス バーが使用中の場合は、このテキストがユーザーに表示されます。