次の方法で共有


IVsProgressStreamConverter.ConvertToDisplayFormat(Stream) Method

Definition

Converts a stream that gets progress into a format that can be displayed in a UI.

public:
 Microsoft::VisualStudio::TaskStatusCenter::TaskDisplayItem ^ ConvertToDisplayFormat(System::IO::Stream ^ progressStream);
public Microsoft.VisualStudio.TaskStatusCenter.TaskDisplayItem ConvertToDisplayFormat (System.IO.Stream progressStream);
abstract member ConvertToDisplayFormat : System.IO.Stream -> Microsoft.VisualStudio.TaskStatusCenter.TaskDisplayItem
Public Function ConvertToDisplayFormat (progressStream As Stream) As TaskDisplayItem

Parameters

progressStream
Stream

The Stream where progress will be reported.

Returns

A TaskDisplayItem that will be updated with progress information from the Stream.

Remarks

It is expected that the stream progress updates will be reported through the same TaskDisplayItem.

Applies to