RemoteControlClient.ReadFile(BehaviorOnStale) Method

Definition

Reads the settings file based on the staleBehavior specified.

C++
public:
 virtual System::IO::Stream ^ ReadFile(Microsoft::VisualStudio::RemoteControl::BehaviorOnStale staleBehavior);

Parameters

staleBehavior
BehaviorOnStale

See BehaviorOnStale for details about each possible setting. In most cases use the BehaviorOnStale.ReturnStale setting.

Returns

A Stream that can be used to read the setting file. !Callers must call Dispose on this stream object returned. Or Null is returned in case of failure to get the file (or if server returned NotFound).

Implements

Applies to

Proizvod Verzije
Visual Studio SDK 2019, 2022