MessageFormatterProgressTracker.TryGetProgressObject 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
TryGetProgressObject(Int64, MessageFormatterProgressTracker+ProgressParamInformation)
取得 MessageFormatterProgressTracker.ProgressParamInformation 與該進度 ID 相關的物件。
public bool TryGetProgressObject(long progressId, out StreamJsonRpc.Reflection.MessageFormatterProgressTracker.ProgressParamInformation? valueType);
member this.TryGetProgressObject : int64 * ProgressParamInformation -> bool
Public Function TryGetProgressObject (progressId As Long, ByRef valueType As MessageFormatterProgressTracker.ProgressParamInformation) As Boolean
參數
- progressId
- Int64
從 取得 MessageFormatterProgressTracker.ProgressParamInformation 物件 StreamJsonRpc.Reflection.MessageFormatterProgressTracker.progressMap的鑰匙。
輸出參數用來儲存所取得 MessageFormatterProgressTracker.ProgressParamInformation 的物件。
傳回
若物件以指定鍵數找到,則 MessageFormatterProgressTracker.ProgressParamInformation 為 true;否則為 false。
適用於
TryGetProgressObject(Object, MessageFormatterProgressTracker+ProgressParamInformation)
取得 MessageFormatterProgressTracker.ProgressParamInformation 與該進度 ID 相關的物件。
public bool TryGetProgressObject(object progressId, out StreamJsonRpc.Reflection.MessageFormatterProgressTracker.ProgressParamInformation valueType);
member this.TryGetProgressObject : obj * ProgressParamInformation -> bool
Public Function TryGetProgressObject (progressId As Object, ByRef valueType As MessageFormatterProgressTracker.ProgressParamInformation) As Boolean
參數
- progressId
- Object
從 取得 MessageFormatterProgressTracker.ProgressParamInformation 物件 StreamJsonRpc.Reflection.MessageFormatterProgressTracker.progressMap的鑰匙。
輸出參數用來儲存所取得 MessageFormatterProgressTracker.ProgressParamInformation 的物件。
傳回
若物件以指定鍵數找到,則 MessageFormatterProgressTracker.ProgressParamInformation 為 true;否則為 false。